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 |
nisstyre56
|
6dd014e824
|
more testing code
|
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
|
488b99a957
|
changing license to ΩF:∅ Working Group
|
11 years ago |
Wesley Kerfoot
|
37813d489e
|
Merge pull request #1 from nisstyre56/master
Merge pull request #1 from oftn/master
|
11 years ago |
nisstyre56
|
65b2717d5b
|
removed spurious check on else variants
|
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 |
Wesley Kerfoot
|
ab7053d687
|
Merge pull request #1 from oftn/master
merge OFTN version
|
11 years ago |
nisstyre56
|
3e1c5528e1
|
fixed bug in operator matching function
|
11 years ago |
nisstyre56
|
58f08f2578
|
handle empty applications
|
11 years ago |
nisstyre56
|
3794ab9271
|
removed test file
|
11 years ago |
nisstyre56
|
8bd8e7385d
|
adding more tests, commenting out regex test until I can figure out why some unicode chars cause it to fail
|
11 years ago |
nisstyre56
|
ffd3b00590
|
testing stuff
|
11 years ago |