Python2 Archives - Ben Barbour

Implementing python-style indention syntax using Flex & Bison (or Lex/Yacc)

I am creating my own programming language. I have defined my syntax to use python style indentions and no statement terminating character (\n indicates the end of a statement). Most modern languages, such as C/Java use { and } to denote the start and end of a statement block and a ; to denote the […]