Commit Graph

3 Commits (trunk)

Author SHA1 Message Date
Alona EM 0b82031e1b Some HIR
```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 =====")
```
2022-01-01 18:38:43 +00:00
Alona EM c98550907d Basic parser 2021-12-29 16:49:49 +00:00
Alona EM 32e7a46476 Initial commit 2021-12-29 11:38:32 +00:00