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
|
cd23678c5a
|
fix semantic ambiguity with type aliases vs. data types with no parameters
|
11 years ago |
nisstyre56
|
64419eeb07
|
move as many operator definitions to prelude.jl as possible, remove some ones I don't care about right now
|
11 years ago |
nisstyre56
|
914598e3e9
|
start moving operator definitions to prelude.jl
|
11 years ago |
nisstyre56
|
87a4176bdd
|
fix bug with validity checking of type definitions
|
11 years ago |
nisstyre56
|
05742335bb
|
give a better name to type declarations in the IR
|
11 years ago |
nisstyre56
|
218f63d233
|
start building up stdlib type declarations for use in the type checker
|
11 years ago |
nisstyre56
|
f33ee5ae70
|
pretty print debugging for data type defs, fixed another mistake
|
11 years ago |
nisstyre56
|
49059be2fe
|
preliminary support for full data type definition syntax, misc improvements on error reporting (hopefully)
|
11 years ago |
nisstyre56
|
0eafd96a7f
|
representation for type definitions with parameters
|
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
|
c6ad6e2b17
|
change the type of error for type decl syntax
|
11 years ago |
nisstyre56
|
2ddb05930c
|
fix false positive when checking lhs of type declarations for being type decls themselves
|
11 years ago |
nisstyre56
|
4c285539eb
|
Removed spurious code from experiments
|
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
|
dd58dffc70
|
experimental support for full type application syntax, basic error checking, still needs syntax for user created types
|
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
|
778ffb63db
|
desugar type bindings
|
11 years ago |
nisstyre56
|
0e1927705b
|
removed old function that was not being used
|
11 years ago |
nisstyre56
|
b18d0a1eca
|
work on parsing type applications/signatures
|
11 years ago |
nisstyre56
|
65b2717d5b
|
removed spurious check on else variants
|
11 years ago |
nisstyre56
|
13201d8662
|
switching to underscore.js for most functionality
|
11 years ago |
nisstyre56
|
d5424b9c4b
|
closure stuff, desugar to curried functions
|
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 |
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
|
fa70001d4b
|
basic support for let/def forms in the parser
|
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
|
e8d74ef3a0
|
handle unary arithmetic operations correctly
|
12 years ago |
Wesley Kerfoot
|
6729a11df4
|
tweaked the tokenizer
|
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
|
888b2d698a
|
update
|
12 years ago |
Wesley Kerfoot
|
942b92caa4
|
added support def functions and lists, next up: desugaring
|
12 years ago |
Wesley Kerfoot
|
6021da7665
|
worked on tokenizer, added operators, stripping whitespace out
|
12 years ago |
Wesley Kerfoot
|
0742d95bc4
|
started on the desugarer
|
12 years ago |
Wesley Kerfoot
|
28de71cc0a
|
moar pprint functions
|
12 years ago |