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
|
70d6090d68
|
remove old cruft
|
11 years ago |
nisstyre56
|
cd3d5f40db
|
rename file to be more inline with what it actually does
|
11 years ago |
nisstyre56
|
d38fba9b26
|
pull in prelude automatically
|
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
|
3b129e3802
|
fix silly mistake from when I must have been drunk or tired
|
11 years ago |
nisstyre56
|
9bdd80121b
|
debugging print function
|
11 years ago |
nisstyre56
|
5c7f57d67d
|
style fixes
|
11 years ago |
nisstyre56
|
a8e3afd946
|
misc style improvements, improve error reporting line/char info
|
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
|
292517cb5c
|
add type for the cons operator
|
11 years ago |
nisstyre56
|
d36a8fe0d9
|
a bunch of types and declarations, adopt the prefix that unboxed types are declared as Intrinsic for now
|
11 years ago |
nisstyre56
|
88c1884112
|
missing semicolon
|
11 years ago |
nisstyre56
|
218f63d233
|
start building up stdlib type declarations for use in the type checker
|
11 years ago |
nisstyre56
|
0a999d9818
|
support for oneline comments using ; as the prefix
|
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
|
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
|
7bba04dae1
|
new example with a bunch of nested constructs to at least try to make testing more rigorous
|
11 years ago |
nisstyre56
|
9d1d75b4ba
|
(partial) support for type definition syntax, plus style cleanups
|
11 years ago |
nisstyre56
|
8c84fdec2e
|
add 'deftype' keyword to tokenizer
|
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
|
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
|
491a41c774
|
updated example code
|
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
|
02896ff849
|
update README to actually explain the current status of this
|
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
|
581e5d02b1
|
remove redundant file
|
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
|
bb0a91b687
|
tweaks for identifier generation
|
11 years ago |
nisstyre56
|
754da9d966
|
switch to underscore.js random function
|
11 years ago |
nisstyre56
|
319e099297
|
generate arbitrary strings with different character ranges for quickcheck
|
11 years ago |