Show HN: Slcc –- a C compiler that doesn't need semicolons or braces
Category: devtools
Tags: c, compiler, syntax, tcc, indentation
Score: 4.5/10 (Innovation: 4, Technical: 6, Documentation: 5, Utility: 3)
SLCC is a fork of Tiny C Compiler that adds semicolon-less syntax and Python-style indentation-based blocks, while still accepting normal C. It is an interesting but niche experiment that inherits TCC's solid compilation engine but introduces known parsing ambiguities similar to JavaScript's automatic semicolon insertion.
Target audience: C developers, programming language enthusiasts
Repository: https://github.com/itzmetanjim/slcc · C · LGPL-2.1
View on Hacker News