You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
```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 =====") ``` |
2 years ago | |
---|---|---|
.. | ||
hir.rs | 2 years ago | |
main.rs | 2 years ago | |
parser.rs | 2 years ago |