Skip to content
0:00 / 0:00

#indentation#off-siderule#nim

Indentation-based syntax in Python, Nim, Haskell, F#, & CoffeeScript

Context Free

24K subscribers • 25 videos on Hallway

YouTube

Intermediate. Assumes working knowledge.

9.8K views6 years ago1 recommendation

Programming languagesLanguage design and type systemsPythonHaskell

An exploration of how different programming languages implement and parse indentation-based syntax and the off-side rule.

Language start times below. Source code at: github.com/contextfreecode/indent Things I wish I'd gotten to: GDScript and actually showing an example of common style in Haskell and discussing that better. Oh, and showing that I could dedent "statements" in my `do` block after using curlies. Python at Nim at Haskell at F# (F Sharp) at CoffeeScript at

Why it's here

1 person recommends this

u/MeaningSeekingin r/ProgrammingLanguages • Recommends

Indentation-based syntax in Python, Nim, Haskell, F#, & CoffeeScript