Alona EM
0b82031e1b
```python x = """Lambda, If, Set, Define, Cond, Case, And, Or, When, Unless, Begin,""" x = x.replace(" ", "").replace(",", "").replace("\r", "") x = x.splitlines() print("// ===== Begin Special Forms =====") for i in x: i = i.lower() print(f"fn sf_{i}<'a>(&mut self, tree: &[Ast<'a>]) -> Option<Hir<'a>> {{") print("todo!()") print("}") print("// ===== End Special Forms =====") ``` |
||
---|---|---|
.. | ||
hir.rs | ||
main.rs | ||
parser.rs |