I want my language to have two features that make Python
such a nicely formatted language:
- One statement per line
- Blocks begin with another indentation level and go on until that's ended
Can anyone give me a detailed hint on how to achieve that with flex/bison
-like tools? Such a block feature forces the user to write readable code.