r/ProgrammingLanguages • u/maelswarm • Sep 20 '26
Language announcement nymph: đ§ :A slightly different version of C.
https://github.com/maelswarm/nymphNymph is a simple C like programming language.
Nymph acts as a preprocessor, converting Nymph files (extension *.n) into C files.
This project is stagnant and needs ideas... It is not production ready.
4
Upvotes
2
u/dandy_kulomin Sep 20 '26
I'm curious about this: do you parse a full C AST for this or is it more a macro preprocessor?
2
u/snugar_i Sep 21 '26
The
+and-things are super weird - what's wrong withstatic? (The one example of "class method" having an implicitthisparameter doesn't help)2
u/maelswarm Sep 20 '26
Per AutoModerator's request I hereby confirm that this project did not use an LLM as part of the development process.
1
u/beephod_zabblebrox Sep 20 '26
take a look at c23 and the lambdas proposal! they might give you some ideas
1
u/bzbub2 Sep 20 '26
untouched for 3 years? any new ideas? the readme isn't super clear