nisstyre56
|
be1996a1d9
|
check for NaN in tokenization functions
|
11 years ago |
nisstyre56
|
01e4e93b56
|
fixed some stupid bugs, started a file for testing the parser
|
11 years ago |
nisstyre56
|
488b99a957
|
changing license to ΩF:∅ Working Group
|
11 years ago |
Wesley Kerfoot
|
7619ec3a0a
|
Merge pull request #2 from oftn/master
merge OFTN version
|
11 years ago |
Wesley Kerfoot
|
37813d489e
|
Merge pull request #1 from nisstyre56/master
Merge pull request #1 from oftn/master
|
11 years ago |
nisstyre56
|
65b2717d5b
|
removed spurious check on else variants
|
11 years ago |
nisstyre56
|
3b464b81cf
|
should error if an if-then-else expression has no else variant (must be that way due to the type system)
|
11 years ago |
nisstyre56
|
72374c9212
|
fixed error handling for dangling else
|
11 years ago |
Wesley Kerfoot
|
ab7053d687
|
Merge pull request #1 from oftn/master
merge OFTN version
|
11 years ago |
nisstyre56
|
3e1c5528e1
|
fixed bug in operator matching function
|
11 years ago |
nisstyre56
|
58f08f2578
|
handle empty applications
|
11 years ago |
nisstyre56
|
3794ab9271
|
removed test file
|
11 years ago |
nisstyre56
|
8bd8e7385d
|
adding more tests, commenting out regex test until I can figure out why some unicode chars cause it to fail
|
11 years ago |
nisstyre56
|
ffd3b00590
|
testing stuff
|
11 years ago |
nisstyre56
|
74b2c9b310
|
tests
|
11 years ago |
nisstyre56
|
4580a8c509
|
removing accidentally commited file that I never needed
|
11 years ago |
nisstyre56
|
24c29c3d0e
|
using javascript version of QuickCheck for testing
|
11 years ago |
nisstyre56
|
e11dcc36c8
|
changed example filename to example.jl
|
11 years ago |
nisstyre56
|
13201d8662
|
switching to underscore.js for most functionality
|
11 years ago |
nisstyre56
|
d366da152a
|
full closure conversion sort of works, doesn't map variables on to types yet, will have to add that
|
11 years ago |
nisstyre56
|
cb0dbd0948
|
fixed bugs in defop parsing, both in the tokenizer and parser (was doing something stupid with array comparisons)
|
11 years ago |
nisstyre56
|
27eee4bc10
|
free variable calculation and naive closure creation works
|
11 years ago |
nisstyre56
|
d5424b9c4b
|
closure stuff, desugar to curried functions
|
11 years ago |
nisstyre56
|
1e9e5c5607
|
removing old code
|
11 years ago |
nisstyre56
|
02baaa0192
|
some minor cosmetic fixes
|
11 years ago |
nisstyre56
|
b890053d20
|
readability fixes, a few bug fixes, can calculate free variables of let blocks, environments not being passed yet or closures created
|
11 years ago |
nisstyre56
|
0661a055c4
|
calculate the free variables of a function (not done yet)
|
11 years ago |
nisstyre56
|
f1aa8b324e
|
closure conversion, expanded description more
|
11 years ago |
nisstyre56
|
b2ea5642a2
|
closure conversion first commit
|
11 years ago |
nisstyre56
|
cb1af982ec
|
fixed bugs where I forgot to use new with constructors
|
11 years ago |
nisstyre56
|
527f1f5e34
|
adding cexp intermediate-representation, still needs work obviously
|
11 years ago |
wes
|
71f9342cea
|
support for user defined operators, working on type declarations and inference
|
11 years ago |
wes
|
b092190c08
|
preliminary support for user-defined operators
|
11 years ago |
Wesley Kerfoot
|
7589d5c4d2
|
desugaring for let/def expressions, more error handling, expanded test cases
|
11 years ago |
Wesley Kerfoot
|
b779025122
|
fixed error handling for let/def
|
11 years ago |
Wesley Kerfoot
|
fa70001d4b
|
basic support for let/def forms in the parser
|
11 years ago |
wes
|
02c20040c6
|
removed some old comments
|
11 years ago |
Wesley Kerfoot
|
8257dceac9
|
quick update
|
11 years ago |
Wesley Kerfoot
|
258e278f4e
|
more error handling shit
|
11 years ago |
Wesley Kerfoot
|
c9e43c8a40
|
expanded test file
|
11 years ago |
Wesley Kerfoot
|
863a7c58d7
|
added more error checking
|
11 years ago |
Wesley Kerfoot
|
3b4b0fd33c
|
added more error handling, fixed a typo in the tokenizer
|
11 years ago |
Wesley Kerfoot
|
6eeebcb23c
|
added another new syntax error
|
11 years ago |
Wesley Kerfoot
|
6629ec62b8
|
changed error messages
|
11 years ago |
Wesley Kerfoot
|
31a5481d7c
|
changed error messages
|
11 years ago |
Wesley Kerfoot
|
129d339396
|
more error stuff
|
11 years ago |
Wesley Kerfoot
|
3103f2168c
|
reverted bug
|
11 years ago |
Wesley Kerfoot
|
246faaad2a
|
added source character and line numbers to tokenizer
|
11 years ago |
Wesley Kerfoot
|
37c79418d4
|
started to add proper errors
|
12 years ago |
Wesley Kerfoot
|
fc6c61994d
|
almost done adding let forms to the language, made sure to throw exceptions in most places
|
12 years ago |