Jack Firth
|
605d943d50
|
Fix more stuff
|
3 years ago |
Jack Firth
|
9c6624f19e
|
Rearrange things and implement syntax object builder
|
3 years ago |
Jack Firth
|
beba017631
|
Fix a typo
|
3 years ago |
Jack Firth
|
3b73da824f
|
Omit symbols from parser derivations
The label is enough information on its own. Also, delete some dead code I was using for manual testing.
|
3 years ago |
Jack Firth
|
d54ce42ddb
|
Add a comment explaining the most confusing SPFF detail
|
3 years ago |
Jack Firth
|
bfcab05237
|
Implement Earley SPPF parse forest construction
|
3 years ago |
Jack Firth
|
372a19afa0
|
Another Resyntax pass
|
3 years ago |
Jack Firth
|
412f3792c3
|
Revert "Replace a let loop with a for loop"
This reverts commit 8ab74df2fa .
|
3 years ago |
Jack Firth
|
8ab74df2fa
|
Replace a let loop with a for loop
|
3 years ago |
Jack Firth
|
c5a399ff62
|
Run Resyntax again
|
3 years ago |
Jack Firth
|
bac8fef8e4
|
Get rid of some commented out code
|
3 years ago |
Jack Firth
|
2896ea5eeb
|
Use `match-define`
|
3 years ago |
Jack Firth
|
c339773860
|
Run Resyntax again
|
3 years ago |
Jack Firth
|
14949f8241
|
Add new grammar API and Earley parser
|
3 years ago |
Jack Firth
|
5c953a3d08
|
Use `hash-update!`
|
3 years ago |
Jack Firth
|
dea323686f
|
Revert "Use `hash-update!` where possible"
This reverts commit 43d9632859 .
|
3 years ago |
Jack Firth
|
43d9632859
|
Use `hash-update!` where possible
|
3 years ago |
Jack Firth
|
138c11b908
|
Get rid of unnecessary lambdas in `hash-ref` calls
|
3 years ago |
Jack Firth
|
d1c41aece2
|
Add another missing import
|
3 years ago |
Jack Firth
|
9bee9b98c4
|
Add missing imports
|
3 years ago |
Jack Firth
|
8e87b541e1
|
Use `append-map` where possible
|
3 years ago |
Jack Firth
|
e9bb15e9d5
|
Use `'()` instead of `null`
|
3 years ago |
Jack Firth
|
0d423ff56e
|
Run `resyntax` again
|
3 years ago |
Jack Firth
|
b97a41c8ef
|
Get rid of the `grammar%` class
Also, get rid of some dead code.
|
3 years ago |
Jack Firth
|
19320eb0e2
|
Move all grammar method logic into functions
|
3 years ago |
Jack Firth
|
fc61543f29
|
Make a grammar struct
The grammar class delegates to it for now. Eventually I'll remove the class.
|
3 years ago |
Jack Firth
|
c588b40a23
|
Fix indentation
|
3 years ago |
Jack Firth
|
bd8fd280f6
|
Fix deps
|
3 years ago |
Jack Firth
|
39505951ea
|
Reorganize imports and exports of `grammar.rkt`
|
3 years ago |
Jack Firth
|
b5d3b102f8
|
Delete the yacc conversion code
I don't have any intention of using or maintaining this.
|
3 years ago |
Jack Firth
|
9d48ab7152
|
Run `resyntax` over everything
|
3 years ago |
Jack Firth
|
e18a3399fe
|
Add new token API
Eventually this will replace the other ones, hopefully.
|
3 years ago |
Jack Firth
|
d33149d20b
|
Use `syntax-parse` in `support.rkt`
|
3 years ago |
Jack Firth
|
a20f1b5a32
|
Get rid of `#:inspector` declarations
Mutable structs instead use the default (current inspector instead of a new child inspector) and immutable structs instead are transparent.
|
3 years ago |
Jack Firth
|
9c78ffcc05
|
Use `struct` instead of `define-struct`
|
3 years ago |
Jack Firth
|
121c26450e
|
Fix more module imports
|
3 years ago |
Jack Firth
|
d7e5b10fe0
|
Use `convert-compile-time-error` in error tests
|
3 years ago |
Jack Firth
|
1a2df4295e
|
Merge pull request #1 from jackfirth/fork
Fork brag into a new package called `yaragg`.
|
3 years ago |
Jack Firth
|
dbebeb54d8
|
Remove runtime dependency on rackunit
|
3 years ago |
Jack Firth
|
e7415fc690
|
Use test submodules for yaragg lang tests
|
3 years ago |
Jack Firth
|
5a90bb6551
|
Only bother testing stable version
|
3 years ago |
Jack Firth
|
909092f41e
|
Use racket modules instead of scheme modules
Also remove some unnecessary imports.
|
3 years ago |
Jack Firth
|
ede85ad60b
|
Fix parse error tests
They were broken because changing the language name from `brag` to `yaragg` changed the source positions of some error messages.
|
3 years ago |
Jack Firth
|
2786491af1
|
Remove unnecessary dependencies
|
3 years ago |
Jack Firth
|
275032d6c1
|
Remove unnecessary `compile-omit-paths` info
|
3 years ago |
Jack Firth
|
bbbd2fb9b1
|
Fix scribblings info
|
3 years ago |
Jack Firth
|
691a084232
|
Fix some module name changes
|
3 years ago |
Jack Firth
|
457d29471c
|
Consolidate into one package
|
3 years ago |
Jack Firth
|
6c0930207f
|
Move `yaragg-parser-tools` collection to `yaragg/parser-tools`
|
3 years ago |
Jack Firth
|
aa5a5ab533
|
Fix incorrect module name
|
3 years ago |