M
Modular13mo ago
Kushagra

Creating Syntactic Sugar

Does anyone here knows if it is possible and if yes, then how to create different syntax structures in the language itself like custom keywords or something to alter the syntax structure? I heard it somewhere that something like that is possible however I don't know if that's actually true or even sensible
1 Reply
Maximum Limelihood Estimator
In Mojo, right now? No. But there's a lot of languages where you can--the relevant search term is syntactic macros, which are widely used in languages like Julia, Rust, and Lisp
Want results from more Discord servers?
Add your server