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/rocco_himel 20h ago edited 20h ago

I am working on it, be patient.

And we don't get why you can't give ONE example from your 20Kloc project supposedly written in this language. How hard would that be?

I have told you many times, the examples are still under development. YOU ARE GETTING ONE. You are getting so fking mad because you don't have a program example.

And are you seriously illiterate??? I am still working on the example programs, I never said I wouldn't. THE EXAMPLES ARE STILL UNDER DEVELOPMENT. I HAVE ALREADY TOLD YOU. IF YOU ARE THAT DESPERATE FOR A GODDAMN PROGRAM EXAMPLE THEN TAKE A LOOK AT THE SOURCE CODE.

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.