-
Notifications
You must be signed in to change notification settings - Fork 2k
Description
Hi CoffeeScript community,
I wanted to share a project that wouldn't exist without CoffeeScript's inspiration. I've been working on Rip, a compiler that takes many ideas from CoffeeScript's elegant syntax and applies them with some different technical choices.
What it is:
- CoffeeScript-inspired syntax (significant whitespace, implicit returns, etc.)
- Compiles to ES2022 JavaScript
- Zero dependencies (includes its own parser generator)
- Self-hosting (compiles itself)
Some technical differences:
- Uses S-expressions as IR instead of AST nodes
- Pure ES6 with modules and classes and supports most traditional CoffeeScript and modern ES2022 syntax
- Dual optional syntax (both
?soak and?.ES6 chaining) - Built-in Bun loader for direct
.ripfile execution
Why share this here:
CoffeeScript proved that JavaScript could have a better syntax, and that vision directly inspired this work. I thought some folks here might find the technical approach interesting, especially the s-expression IR and the self-hosting with zero dependencies.
Repository: https://github.com/shreeve/rip-lang
This isn't meant as a replacement or criticism of CoffeeScript—it's a different experiment for those who might be curious about alternative approaches to similar goals.
Thanks for all the inspiration over the years!