/Ast-system

Implementing an L-system in an unusual way.

Primary LanguageTypeScript

AST-system experiment

Implementing an L-system in an unusual way:

  • Initial state is an AST instead of a string.
  • A rule is replacement of a statement with an AST (instead of replacing a character with a string).

Output

Running

deno run --allow-write main.ts