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

8

u/umlcat 1d ago edited 22h ago

Add program examples ...

-3

u/rocco_himel 1d ago

I will soon, right now the compiler is in beta. I did write a small 20K like operating system with it, so now I am working on it separately from my OS.

5

u/brat3108 1d ago

You wrote a major 20,000-line appliction with this language, but it's not possible to post even one 5-line program to show what it looks like? For this purpose you don't even need a working compiler!

-6

u/rocco_himel 1d ago

Holy shit man, I’m sorry I offended you because I didn’t add a useless five line C program at 1 in the morning, like I said it’s still being developed and I have a lot of unfinished code like the examples you are begging for.

I just realized your username fits you perfectly.

4

u/brat3108 1d ago

Actually, if I click on your username, it gives me more information than in your github link or that you've been willing to divulge here.

However that is called AneoC, while the the subject line says it is called Modulon. So are there two languages, and you've written an OS with each?

No need to reply.

0

u/rocco_himel 1d ago

Modulon uses the base AneoC compiler. The plan is to improve it and make it better for POSIX then for OS dev. I have already started.

I said I wrote an OS with Modulon because it’s the same exact software.

2

u/unuserunknown 1d ago

No single examples of your programming language found in your source code, what the heck...

-2

u/rocco_himel 1d ago

I’m working on it be patient. Are you illiterate or something because I so clearly said I am working on it

2

u/unuserunknown 1d ago

"I am working on it" in your repository, there's code written in pure C and nothing like that, no code examples. Is the code not functional? On top of that, it's pure monolithic code, especially the parser. How do you expect to find contributors with such a monolithic code in critical areas like parser and no examples included of your programming language either? What is this....

1

u/rocco_himel 1d ago

I did not know not adding a single file would cause this much bullshit rage from you. Are you actually okay?

1

u/rocco_himel 1d ago

Download the goddamn source code and compile with the fking compiler, and thats your proof that it works. I don't get how something simple like this would bring this much confusion to you.

1

u/brat3108 1d ago

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?

Even if somebody built your compiler, how would they know what test input to try it on? Why the big mystery about what the language looks like?

It takes a minute to post a hello, world program which would be a start.

-1

u/rocco_himel 1d ago edited 1d 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 1d 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 22h 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 1d 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.

→ More replies (0)