mirror of
https://github.com/yhirose/cpp-peglib.git
synced 2024-12-22 20:05:31 +00:00
Added README.md for PL/0...
This commit is contained in:
parent
6de1fe8aef
commit
3e9d8c506a
21
pl0/README.md
Normal file
21
pl0/README.md
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
PL/0 language example
|
||||||
|
=====================
|
||||||
|
|
||||||
|
https://en.wikipedia.org/wiki/PL/0
|
||||||
|
|
||||||
|
* PL/0 PEG syntax
|
||||||
|
* AST generation with symbol scope
|
||||||
|
* Interpreter (slow...)
|
||||||
|
* LLVM Code generation
|
||||||
|
* LLVM JIT execution (fast!)
|
||||||
|
|
||||||
|
Usage
|
||||||
|
-----
|
||||||
|
|
||||||
|
```
|
||||||
|
pl0 PATH [--ast] [--llvm] [--jit]
|
||||||
|
|
||||||
|
--ast: Show AST tree
|
||||||
|
--llvm: Dump LLVM IR
|
||||||
|
--jit: LLVM JIT execution
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user