Skip to content

Commit 3e9d8c5

Browse files
committed
Added README.md for PL/0...
1 parent 6de1fe8 commit 3e9d8c5

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

pl0/README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
PL/0 language example
2+
=====================
3+
4+
https://en.wikipedia.org/wiki/PL/0
5+
6+
* PL/0 PEG syntax
7+
* AST generation with symbol scope
8+
* Interpreter (slow...)
9+
* LLVM Code generation
10+
* LLVM JIT execution (fast!)
11+
12+
Usage
13+
-----
14+
15+
```
16+
pl0 PATH [--ast] [--llvm] [--jit]
17+
18+
--ast: Show AST tree
19+
--llvm: Dump LLVM IR
20+
--jit: LLVM JIT execution
21+
```

0 commit comments

Comments
 (0)