Meta programming - generalized approach? #182
MatAtBread
started this conversation in
General
Replies: 1 comment
-
|
6218d379e7a5772379fdf1c315a5ebfb21df3c46 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey there.
I'm really not trying to make myself unpopular, or fish for users, but Zen-C inspired me to revisit a project I started on 10 years ago.
The project is here https://github.com/MatAtBread/upp and like Zen-C it's essentially a pre-processor for C, but unlike Zen-C it only imposes one keyword
@define. All the others you get to build yourself to meet your specific needs. Seeing some of the features of Zen-C made me want to see if I could implement the language features using Upp, so I resurrected it and rewrote it to make it actually function. If you want more of a look, some of them can be found here https://github.com/MatAtBread/upp/tree/main/std in the.hupfiles.For a bit of background this idea occurred to me when building https://github.com/MatAtBread/nodent, which implemented async/await in Javascript without generators using some (rather-extreme!) tree surgery! Generalizing that is what became Upp.
What am I looking for?
Collaborators, interested people, maybe someone to give an opinion or two. The project is definitely alpha, and so I'd really like some feedback on the concept and people who want to refine it into something truly useful, since it's very early days and it's a good time to get input. The code seems to work , but at the moment it's a bit fugly (another thing to apologise for).
Again, apologies for this post if it's unwanted, but I was so inspired by Zen-C and the feedback here I though I might find like minded people who would just be interested in the project.
Have a lovely day, people.
Beta Was this translation helpful? Give feedback.
All reactions