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 |
Wesley Kerfoot
|
2458430357
|
added tuple operator
|
12 years ago |
Wesley Kerfoot
|
c566aeb674
|
expanded test program
|
12 years ago |
Wesley Kerfoot
|
e8d74ef3a0
|
handle unary arithmetic operations correctly
|
12 years ago |
Wesley Kerfoot
|
df3597dae2
|
stuff
|
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
|
55aab5b3f5
|
fixed some bugs related to list parsing
|
12 years ago |
Wesley Kerfoot
|
42451b9955
|
removed old code
|
12 years ago |
Wesley Kerfoot
|
f57bbcce4e
|
finally fixed the tokenizer
|
12 years ago |
Wesley Kerfoot
|
ce342ae479
|
added license
|
12 years ago |
wes
|
8766c45e09
|
update
|
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 |
wes
|
90fb94b012
|
test file
|
12 years ago |
wes
|
b4d0872774
|
stuff
|
12 years ago |
wes
|
0a21cbd57e
|
removed restriction on def grammar
|
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 |