Skip to content

Commit d078568

Browse files
committed
update readme
1 parent 2489fc4 commit d078568

1 file changed

Lines changed: 18 additions & 1 deletion

File tree

README.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,24 @@ This is a human, WIP, and clean implementation of an AWK interpreter, written in
44

55
## State of the Repo
66

7-
The lexer is pretty much done; however, it should track the span of the tokens so we can produce contextual error messages in the parser, and it is also lacking a POSIX-compatibility mode (trivial). The parser is mostly done, although it probably has some rough edges, and the preprocessor is TBD; also, the Pratt routine is a bit spaghetti and should be refactored (trivial). The interpreter is also TBD; work on it will be started once we get good testing on the parser. Expect this to be a fast-paced repo.
7+
### Lexer
8+
9+
Pretty much done; lacking a POSIX-compatibility mode (trivial) and arena integration (trivial).
10+
11+
### Parser
12+
13+
Also mostly done; some bullet points:
14+
15+
* Rough edges around error handling on expected tokens.
16+
* Preprocessor is TBD.
17+
* The Pratt routine is a bit spaghetti and should be refactored (trivial).
18+
* Missing getline expressions and command redirections (trivial).
19+
* We are working on test coverage and fuzzing.
20+
* It would be nice to reduce LOC; maybe we get rid of S-expr debug output.
21+
22+
### Interpreter
23+
24+
TBD; work on it will be started once we get good testing on the parser. Ideally, the design should be a bytecode machine or a JIT. Expect this to be a fast-paced repo.
825

926
## Contributing
1027

0 commit comments

Comments
 (0)