6 Commits (5f22d58e1935860ce9b3470aa121e6a7600cb45f)

Author SHA1 Message Date
wes 1134c9873f better error handling 8 years ago
wes f9cc593583 update repl to be nicer 8 years ago
wes 25056d788f temp fix 8 years ago
wes 71bdafb35b convert to es6 modules 8 years ago
wes 46430caa47 use rollup to build it for the browser 8 years ago
wes 5057a95252 defuck vm.js 8 years ago
wes ecb6d9b617 clean up and updates to the code 8 years ago
nisstyre56 cd1a478560 closures! 10 years ago
nisstyre56 826b19a4de restructure for evaluator 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 c29edfa7e1 remove extra parameter 11 years ago
nisstyre56 252798b134 return type alias bindings along with ast 11 years ago
nisstyre56 cd23678c5a fix semantic ambiguity with type aliases vs. data types with no parameters 11 years ago
nisstyre56 a8e3afd946 misc style improvements, improve error reporting line/char info 11 years ago
nisstyre56 05742335bb give a better name to type declarations in the IR 11 years ago
nisstyre56 f33ee5ae70 pretty print debugging for data type defs, fixed another mistake 11 years ago
nisstyre56 71640b2c48 fix typo and add test case for data type defs 11 years ago
nisstyre56 49059be2fe preliminary support for full data type definition syntax, misc improvements on error reporting (hopefully) 11 years ago
nisstyre56 6b33a7e318 fix more bugs 11 years ago
nisstyre56 39403648ec fix a few bugs, functionality for aliasing type operators now works 11 years ago
nisstyre56 9d1d75b4ba (partial) support for type definition syntax, plus style cleanups 11 years ago
nisstyre56 f1b12a26e5 Better error messages for type application errors where something that was not a type operator, type variable, or type application is used 11 years ago
nisstyre56 93a7ff3071 Better errors, more accurate position info 11 years ago
nisstyre56 17dff62f1e fixed annoyance with exception handling, will have to be more robust in the future though 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 12b3eb58b2 fix brace style of conditionals 11 years ago
nisstyre56 223eeb8e72 a few tweaks based on jshint 11 years ago
nisstyre56 db2933031d defuck tabs in files 11 years ago
nisstyre56 8167fcf1ba continuing syntax support for type declarations 11 years ago
nisstyre56 3f7b2af82f -> should be in the list of operators 11 years ago
nisstyre56 03dbefcdd9 error handling for type applications 11 years ago
nisstyre56 0297fbd5af fixed bug with defop parsing, wrong token type in the pattern 11 years ago
nisstyre56 fbc2664a29 refactor parseMany function to accept general functions rather than strings, this is done in order to handle -> as an identifier rather than its own token 11 years ago
nisstyre56 b18d0a1eca work on parsing type applications/signatures 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
nisstyre56 58f08f2578 handle empty applications 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
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 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