nisstyre56
|
a4d81a0bf7
|
remove code leftover from debugging
|
11 years ago |
nisstyre56
|
c34fd71244
|
fix bug where defops were not being included by the tokenizer properly, fixed precedence order mixup in prelude.jl
|
11 years ago |
nisstyre56
|
d38fba9b26
|
pull in prelude automatically
|
11 years ago |
nisstyre56
|
3b129e3802
|
fix silly mistake from when I must have been drunk or tired
|
11 years ago |
nisstyre56
|
88c1884112
|
missing semicolon
|
11 years ago |
nisstyre56
|
0a999d9818
|
support for oneline comments using ; as the prefix
|
11 years ago |
nisstyre56
|
8c84fdec2e
|
add 'deftype' keyword to tokenizer
|
11 years ago |
nisstyre56
|
93a7ff3071
|
Better errors, more accurate position info
|
11 years ago |
nisstyre56
|
dd58dffc70
|
experimental support for full type application syntax, basic error checking, still needs syntax for user created types
|
11 years ago |
nisstyre56
|
223eeb8e72
|
a few tweaks based on jshint
|
11 years ago |
nisstyre56
|
0297fbd5af
|
fixed bug with defop parsing, wrong token type in the pattern
|
11 years ago |
nisstyre56
|
02896ff849
|
update README to actually explain the current status of this
|
11 years ago |
nisstyre56
|
bb0a91b687
|
tweaks for identifier generation
|
11 years ago |
nisstyre56
|
2f4fd395c3
|
testing stuff for new types
|
11 years ago |
nisstyre56
|
b18d0a1eca
|
work on parsing type applications/signatures
|
11 years ago |
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
|
72374c9212
|
fixed error handling for dangling else
|
11 years ago |
nisstyre56
|
13201d8662
|
switching to underscore.js for most functionality
|
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
|
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 |
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
|
3b4b0fd33c
|
added more error handling, fixed a typo in the tokenizer
|
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 |
Wesley Kerfoot
|
6729a11df4
|
tweaked the tokenizer
|
12 years ago |
Wesley Kerfoot
|
9d735e5789
|
fixed yet another bug, might refactor that function later
|
12 years ago |
Wesley Kerfoot
|
2bc760774b
|
cleaned up/modularized code more
|
12 years ago |
Wesley Kerfoot
|
f57bbcce4e
|
finally fixed the tokenizer
|
12 years ago |
Wesley Kerfoot
|
976aa27151
|
worked on toknizer some more
|
12 years ago |
Wesley Kerfoot
|
fc0690d36d
|
made parser sensitive to operators
|
12 years ago |
Wesley Kerfoot
|
888b2d698a
|
update
|
12 years ago |
Wesley Kerfoot
|
942b92caa4
|
added support def functions and lists, next up: desugaring
|
12 years ago |
Wesley Kerfoot
|
46632aa579
|
commented tesing code
|
12 years ago |
Wesley Kerfoot
|
f32df1b490
|
added commas
|
12 years ago |
Wesley Kerfoot
|
6021da7665
|
worked on tokenizer, added operators, stripping whitespace out
|
12 years ago |
Wesley Kerfoot
|
ee0d7aebcb
|
removed regex based tokenizer, finished switch/case based tokenizer, need to add support for whitespace in the parser or strip it out for now
|
12 years ago |
Wesley Kerfoot
|
229842cc85
|
fixed bug, was using old index for result in t tokenizer
|
12 years ago |
Wesley Kerfoot
|
f260d5dcb1
|
added t tokenizer
|
12 years ago |
Wesley Kerfoot
|
1883c370ab
|
added string tokenizer
|
12 years ago |
Wesley Kerfoot
|
86c2c5f76a
|
did work on tokenizer, removed a bit of reduntant code
|
12 years ago |
Wesley Kerfoot
|
43f5479055
|
did more work on the new tokenizer
|
12 years ago |
Wesley Kerfoot
|
9a19210c85
|
rewriting the tokenizer without regular expressions
|
12 years ago |