aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/ast/parser.go
Commit message (Collapse)AuthorAgeFilesLines
* pkg/ast: fix struct comment parsingDmitry Vyukov2017-09-041-0/+2
|
* pkg/compiler: check and generate typesDmitry Vyukov2017-09-021-2/+2
| | | | | | Move most of the logic from sysgen to pkg/compiler. Update #217
* pkg/compiler: more static error checkingDmitry Vyukov2017-08-271-1/+1
| | | | Update #217
* pkg/compiler, sys/syz-sysgen: move const handling to pkg/compilerDmitry Vyukov2017-08-271-17/+25
| | | | Now pkg/compiler deals with consts.
* sys/syz-sysgen: switch to new parserDmitry Vyukov2017-08-181-0/+31
| | | | | For now we just generate the old structs from the new AST. But this allows to delete the old parser entirely.
* sys/syz-extract: switch to the new parserDmitry Vyukov2017-08-181-2/+11
|
* pkg/ast: new parser for sys descriptionsDmitry Vyukov2017-08-181-0/+423
The old parser in sys/sysparser is too hacky, difficult to extend and drops debug info too early, so that we can't produce proper error messages. Add a new parser that is build like a proper language parser and preserves full debug info for every token.