-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify compiler interface to integrate Elm make
Remove the hardcoded special module name for the source file given to Elm make. Instead, let the app specify the source file name with the same syntax as in the source files interface. Also, introduce a syntax to model optional flags in the function name. For now, continue to support the older interface variant, to support the smooth migration of apps. Adapt the rich-chat-room example to demo the new interface.
- Loading branch information
Showing
4 changed files
with
155 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
implement/example-apps/rich-chat-room/src/ElmFullstackCompilerInterface/ElmMake.elm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
module ElmFullstackCompilerInterface.ElmMake exposing (..) | ||
|
||
|
||
elm_make__base64____src_FrontendWeb_Main_elm : String | ||
elm_make__base64____src_FrontendWeb_Main_elm = | ||
"The Elm-fullstack compiler replaces this function." |
6 changes: 0 additions & 6 deletions
6
...ment/example-apps/rich-chat-room/src/ElmFullstackCompilerInterface/ElmMakeFrontendWeb.elm
This file was deleted.
Oops, something went wrong.