4 ms·
My latest PL idea, inspired by Rust's "unsafe {}" blocks is "expressive {}" blocks. The "base language" would be boring, pedestrian, optimizing for zero surpri
by nemo1618 6y ago
My latest PL idea, inspired by Rust's "unsafe {}" blocks is "expressive {}" blocks.
The "base language" would be boring, pedestrian, optimizing for zero surprises. But inside an expressive{} block, you could have macros, operator overloading, DSLs, first-class continuations, you name it.
- owl57 6y agodragons {}
- bidirectional 6y agoI had a similar idea upon seeing the power of incredibly terse languages like k and q (both still used in a lot of investment banks). The core language would be boring and imperative, for plumbing, but you'd also be able to write and evaluate array language expressions as a first class construct.