Commit graph

783 commits

Author SHA1 Message Date
evancz
609dc36596 Add height check and get rid of utils which was in the wrong place (i think) 2013-03-12 21:25:47 -07:00
evancz
55137ac66d Move files around in runtime/ 2013-03-12 11:06:47 -07:00
evancz
d97027c118 More minor fixes to RTS. 2013-03-12 01:51:54 -07:00
evancz
a1b890adc3 Lots of tiny fixes to get the RTS working! 2013-03-12 00:48:11 -07:00
evancz
15c35c824b Clean out Input file! 2013-03-11 10:59:30 -07:00
evancz
4af458573d Add success message that makes it clearer that the compiler is built separately. 2013-03-11 10:57:21 -07:00
evancz
213048dedd Move Geometry.elm into the Graphics/ directory. 2013-03-11 10:50:28 -07:00
evancz
34294a5f42 Strip out the unrelated things from Misc.js and rename it to Show.js, which is all it does now anyway! 2013-03-11 10:46:16 -07:00
evancz
66c08fdc40 Add exitSuccess to the Build script 2013-03-11 10:45:43 -07:00
evancz
db44b154b4 Combine Keyboard and Keyboard.Raw modules. 2013-03-11 10:38:52 -07:00
evancz
0c3db69e01 Add comment that Build does not compile the compiler. 2013-03-10 22:45:46 -07:00
evancz
95679501d2 Add Build.hs which constructs the elm-runtime.
Found bugs in some files which are temporarily fixed: Weird type error in Either, name collision in LineStyle and syntax error in Json.Experimental
2013-03-10 22:42:57 -07:00
evancz
10f0a24449 Add the very important Signal library :P
Remove past versions of the RTS.
2013-03-10 19:03:42 -07:00
evancz
29a2ec36bb Move css into RTS. Simplifies Haskell API and compiler code. 2013-03-10 18:52:16 -07:00
evancz
9aa8e3b243 Get rid of the Examples/ directory. Planning on moving it to a separate repo. 2013-03-10 18:51:37 -07:00
evancz
a38d346427 Remove a stray 'p' from navigating around in emacs with a weak pinky :P 2013-03-10 15:59:33 -07:00
evancz
f903ff3fd8 Tweaks to the last of the library code. 2013-03-10 01:40:31 -08:00
evancz
b343564795 Finish tweaking the second half of .elm library files. 2013-03-10 01:07:17 -08:00
evancz
8a700e84d5 Update first half of .elm libraries 2013-03-10 00:54:37 -08:00
evancz
944a056122 Decide on convention that corresponding Native modules get exported automatically, no need to copy everything through in the Elm file.
Also extend `sort` to work on any comparable values.
2013-03-10 00:12:10 -08:00
evancz
a5435e8993 Clean up generated JS. Ensure that imports actually happen. Fix bugs with (<~) and (~). 2013-03-10 00:02:10 -08:00
evancz
9a0fad5b58 Rename elm-server/ to server/ 2013-03-09 19:16:43 -08:00
evancz
8fc0e24dc2 Remove core-js/ directory. This branching thing is nice, I agree now :P 2013-03-09 19:15:04 -08:00
evancz
d7ab7282ee Merge branch 'dev' of https://github.com/evancz/Elm into dev 2013-03-09 19:12:58 -08:00
evancz
851d2ff221 Create the Utils module which contains any utilities that can be created before all other modules. Switch to using Utils in existing modules.
Add the Error module for reporting the rare runtime errors that are possible.
2013-03-09 19:02:07 -08:00
evancz
05631f2b37 Update generated JS so that the FFI works independently for each RTS. 2013-03-09 18:59:55 -08:00
evancz
f49a509e7f Add send and recv functions for each RTS instance. 2013-03-09 18:58:44 -08:00
evancz
505b1e32d6 Add the Init module which exports Elm.init, creating a self-contained RTS. It can be used as follows:
Elm.init( Elm.MyModule )  // which takes over the document
    Elm.init( Elm.MyModule, arbitraryDiv )  // which embeds the program in 'arbitraryDiv'

These functions can be called multiple times on the same modules!

Also slightly modify the format of the Render module.
2013-03-09 18:39:09 -08:00
evancz
6551ef14b2 Convert the Keyboard.Raw module and do minor fixes. 2013-03-09 00:39:58 -08:00
evancz
76e83e0e1b Convert Color and Text modules to new format. 2013-03-09 00:22:42 -08:00
evancz
0fe301aaba Convert the List and Misc modules. 2013-03-08 23:31:19 -08:00
evancz
8e6dbf8000 Convert the Date, JS, and Json modules. 2013-03-08 23:22:15 -08:00
evancz
86d02e22d5 convert WebSocket.js and Window.js to the new module format 2013-03-08 23:12:40 -08:00
evancz
ccf9917f2e Convert the random and touch modules to the new format. 2013-03-08 22:57:13 -08:00
evancz
f70fdaa300 Solidify format for modules. Convert the Time module. 2013-03-08 22:50:46 -08:00
evancz
9084db2b59 Switch module structure to permit on-demand initialization and multiple runtimes working simultaneously. 2013-03-08 20:17:01 -08:00
evancz
f589cf3899 Move all js files relevant to signals into the Native/Signal/ directory 2013-03-08 18:39:39 -08:00
evancz
24d508b8d2 Add the beginnings of a button module and mess with the definition of equality. 2013-03-07 23:17:34 -08:00
evancz
35c5086759 Create runtime/ directory for all runtime specific code.
Add renderer for current version of Graphics.Element.
2013-03-07 11:08:06 -08:00
evancz
0ab2825d67 Get Graphics.Element in working order. 2013-03-07 11:06:48 -08:00
evancz
1fcbec65aa Rename elm/ to compiler/ to make things clearer. 2013-03-07 11:05:53 -08:00
evancz
79a747cfc6 Rename core/ to libraries/ to make it more clear what is going on with the directory structure. 2013-03-06 09:28:53 -08:00
evancz
83142e4b8a Refactor the main module generating code. 2013-03-06 09:25:23 -08:00
evancz
ea4fe54a2a Rename Form to Collage. Add the LineStyle module. 2013-03-06 09:24:17 -08:00
evancz
d10dcdc820 Reorganize Json modules to make it clear that the record conversion is still experimental. 2013-03-06 09:22:59 -08:00
evancz
71f83d394e Get rid of the FillStyle module. Move gradients to Color and everything else to Form.
Create the Geometry module which describes paths and shapes. Not sure if this module is a good idea.
2013-03-05 19:46:35 -08:00
evancz
0fbfab7d7c Get Text module working. Move Color into Graphics/. Have Element as a parent module of Text, Form, etc. providing the raw materials but letting functions like collage : ... -> Element and centered : Text -> Element live in dependencies. 2013-03-05 10:06:52 -08:00
Evan Czaplicki
cf173a90da Merge pull request #110 from ngunn/master
Fix Examples/elm-yesod to run with current yesod and elm-yesod packages
2013-03-03 11:15:58 -08:00
evancz
d2abba0980 Switch the order of two functions. 2013-03-03 07:56:23 -08:00
evancz
39b3fcb034 Use a shorter name for Native.List in the List module 2013-03-03 07:55:37 -08:00