Evan Czaplicki
0976355fac
Properly generate directory structure
2013-09-05 10:55:30 -07:00
Evan Czaplicki
ae5ef9db97
Add pretty printing and require a module declaration and structure comment
2013-09-05 10:48:37 -07:00
Evan Czaplicki
caf2d0ab6d
Fix parsing bug and ensure the creation of the docs/ directory
2013-09-05 10:09:45 -07:00
Jeff Smits
9823941df1
Removed operators, renamed some functions, as advised by Evan.
2013-09-05 14:00:34 +02:00
Evan Czaplicki
4f7bb237ca
Begin building elm-doc
again
2013-09-04 17:40:29 -07:00
Evan Czaplicki
f5e15ca7e3
Use the new documentation format and helper functions
2013-09-04 17:40:05 -07:00
Evan Czaplicki
c9824b4e19
Nicer show for Assoc
2013-09-04 17:18:02 -07:00
Evan Czaplicki
8a913451c7
Add more helper functions
...
Ensure that comment parsers return the full body.
Add functions for skipping over characters.
Add function to extract the corresponding source text of a parse.
2013-09-04 17:17:48 -07:00
Evan Czaplicki
fecc96dde7
Rename some functions and export typeAnnotation
2013-09-04 17:16:35 -07:00
Evan Czaplicki
24642c85e6
Change default associativity to left
2013-09-04 17:16:07 -07:00
Evan Czaplicki
e9a626d110
Merge branch 'dev' into release-candidate
2013-09-03 11:26:29 -07:00
Evan Czaplicki
a633a5d7d3
Make sure text boxes are given proper dimensions after hot-swapping
2013-09-03 11:25:58 -07:00
Evan Czaplicki
cd8ade670a
Merge branch 'dev' into release-candidate
2013-09-03 01:30:54 -07:00
Evan Czaplicki
bdd8213e6d
Fix generation of infix ops
2013-09-03 01:30:21 -07:00
Evan Czaplicki
8a255de2ba
Put document structure in nicer location
2013-09-02 20:37:39 -07:00
Evan Czaplicki
c4d07300a1
Change the style of some documentation, experimenting with styles for elm-doc
2013-09-02 19:28:52 -07:00
Evan Czaplicki
136fbe5d30
Revert "Bump version number"
...
This reverts commit 886a4a56ee
.
2013-09-02 17:54:16 -07:00
Evan Czaplicki
838c1cf2a0
Update change log
2013-09-02 16:37:24 -07:00
Evan Czaplicki
886a4a56ee
Bump version number
2013-09-02 16:37:10 -07:00
Evan Czaplicki
e2d2c45228
Revert "Add names to functions in generated JS."
...
This reverts commit a4fdf0664c
.
2013-09-02 15:18:44 -07:00
Evan Czaplicki
16a215a249
Show sign on interpolation if there is a failure
2013-09-02 15:18:20 -07:00
Evan Czaplicki
6fb2fa9ee0
Chose the best alias when many apply (fixes issue #227 )
2013-09-02 14:59:22 -07:00
Evan Czaplicki
984cfc55a9
Fix issue #230
...
The problem was that `inner` was not refering to the correct node in
the `setPos` expression if the inner node got replaced.
2013-09-02 01:04:21 -07:00
Evan Czaplicki
128e21db21
Prettier printing
2013-09-01 22:51:04 -07:00
Evan Czaplicki
e8dffac17b
Fix indentation
2013-09-01 22:20:08 -07:00
Evan Czaplicki
a4fdf0664c
Add names to functions in generated JS.
2013-09-01 22:20:08 -07:00
Evan Czaplicki
b4e0196c7f
Factor out a commonly used expression
2013-09-01 22:20:07 -07:00
Evan Czaplicki
7e1d95a108
Move the markdown
function to the text library
2013-09-01 22:20:07 -07:00
Evan Czaplicki
3fe9e2470c
Fix indent
2013-09-01 22:20:07 -07:00
Evan Czaplicki
6512bf944b
Indent properly
2013-09-01 22:20:07 -07:00
Evan Czaplicki
57990a8823
Merge pull request #235 from deadfoxygrandpa/dev
...
Fixed issue #234
2013-09-01 21:13:21 -07:00
Jeff Smits
ae65d1e43e
Rewrote Automaton library with normal functions instead of CPS (resulting in more complex, but hopefully better performing code). Added some common AFRP functions (including loop\!). Requires some testing...
2013-09-01 13:51:46 +02:00
Evan Czaplicki
aed6d9547a
Merge branch 'experimental' into dev
...
Conflicts:
compiler/Generate/JavaScript.hs
2013-09-01 01:43:51 -07:00
Evan Czaplicki
6b855f932e
Fix problem with overlapping variable names in generated code
2013-09-01 01:25:10 -07:00
Alex Neslusan
c58c97bb76
Fixed issue #234
...
By removing old style properties in setPos
2013-09-01 13:49:37 +08:00
Evan Czaplicki
1f48a279eb
Properly generate infix ops not in Basics
2013-08-31 21:12:11 -07:00
Evan Czaplicki
a8fedacd1b
Merge branch 'javascript' into dev
2013-08-31 20:05:49 -07:00
Evan Czaplicki
e0c1c64767
Merge pull request #233 from lambdatoast/dev-list-replicate
...
Add a replicate function to the List module
2013-08-31 20:04:00 -07:00
Alexander Noriega
074bb08f8e
Rename replicate to repeat.
2013-08-31 21:23:23 -03:00
Evan Czaplicki
3a072982ac
Get generation working
...
move `makeSafe` over and make floats work
2013-08-31 13:22:00 -07:00
Evan Czaplicki
3921ac232e
Switch to using Double to represent floats internal
2013-08-31 13:14:39 -07:00
Evan Czaplicki
b71336c905
Change default modules
2013-08-31 13:14:06 -07:00
Evan Czaplicki
2a5a33712a
Get rid of Unique and add language-ecmascript
2013-08-31 13:12:52 -07:00
Alexander Noriega
d6e7172f45
Define convenience function List.replicate.
2013-08-31 16:29:35 -03:00
Evan Czaplicki
966e725f5e
Finish converting the JS generator, still needs testing
2013-08-31 12:14:23 -07:00
Evan Czaplicki
10734a1b0b
get jsImport working
2013-08-31 04:41:36 -07:00
Evan Czaplicki
5b263aa124
Add markdown and make . notation nicer
2013-08-31 04:19:18 -07:00
Evan Czaplicki
394d398512
Get case expressions working
2013-08-31 04:01:00 -07:00
Evan Czaplicki
eafdaa20f4
add type annotation
2013-08-31 04:00:40 -07:00
Evan Czaplicki
545e51c611
Remove the Unique library, which is no longer in use
2013-08-31 03:08:00 -07:00