Micron - Oberon-like systems language with C's reach
Show HN: Micron – Oberon with the Power of C
Micron is a systems programming language that combines the modularity, strictness, and simplicity of Oberon with the flexibility of C. It offers a compiler, interpreter, and IDE, enabling development from boot code to full applications. With explicit language levels, it ensures safety by preventing accidental dependencies, and it calls C without wrappers. The project includes a textbook and has migrated over 130 kSLOC of real-world code, including operating systems and virtual machines. Try the precompiled micc compiler to experience its power.
Micron is intended as a practical alternative to C for systems programming, combining the modularization, strictness and simplicity of Oberon with the flexibility of C.
- HexDecOctBin
It seems like the language requires Pascal/C89 style declarations on top of the scope. I've never been sure why Pascal developers have stuck to this convention for so long. Is it the zeal to preserve single-pass compilation?
- berkeleynerd
Would be great to see Micron up on Rosetta with a good selection of examples ported there. Great work...will definitely be having a look!
- andsoitis
Love the examples you've implemented in Micron:
The examples subdirectory (https://github.com/rochus-keller/Micron/tree/master/examples) contains:
- a Smalltalk-80 implementation,
- the original 1976 P4 Pascal compiler,
- the Scheme 9 virtual machine,
- the Project Oberon System running on the host,
- and the Micron System described in the textbook, the migrated Project Oberon System natively running on RISC-V.*