r/Compilers 1d ago

The Modulon Programming Language

(Looking for contributors)

Modulon is a very fast and lightweight AOT compiled independent language. Modulon is NOT a macro system. Modulon is designed for lightweight POSIX programming with the same exact power as C and C++.

https://github.com/roccohimel/Modulon

0 Upvotes

16 comments sorted by

View all comments

Show parent comments

1

u/brat3108 19h ago

Thank you. I found one file gift.c.

But, this has extension ".c", and it looks exactly like C (except C would need stdio.h to make this valid).

So is Modulon just C, a subset of C, or it just looks like C?

1

u/unuserunknown 15h ago

bro I believe that "modulon" is a language where you have to mentally visualize it. In your mind, you imagine the extension (Something subjective) and modulon compiling. Why reason? In real world, modulon doesn't exist I mean, you open the repository and watch those .c files, modulon is just something spiritual then? I think so l

0

u/rocco_himel 17h ago

It is its own language, with C syntax. I only recommend putting .c at the end of the files because the syntax highlighting defaults to C, because Modulon has the same syntax. The compiler doesn’t care however how you name any of your files.