3 ms·
I was quite impressed by it and tried to learn it, but difficult to find a standalone modern compiler for it.
by webmobdev 5y ago
I was quite impressed by it and tried to learn it, but difficult to find a standalone modern compiler for it.
- pjmlp 5y agoIt is relatively easy, http://oberon07.com/compilers.xhtml http://oberon07.com/compilers.xhtml However this is nothing like using Oberon back in the day, because similarly to the Xerox PARC workstations, it only made sense as a full stack OS. Additionally any standalone compiler needs to support the Oakwood guidelines to be usefull outside the Oberon (OS) semantics. http://www.edm2.com/index.php/The_Oakwood_Guidelines_for_Oberon-2_Compiler_Developers http://www.edm2.com/index.php/The_Oakwood_Guidelines_for_Obe... So in the end, Oberon is yet another system that was ahead of its time, has proven what is possible with a GC enabled systems programming language in 1990's hardware, but we are better off applying its lessons to more modern languages.
- Rochus 5y agoHere is a modern IDE/compiler with semantic navigation and source-level debugger: https://github.com/rochus-keller/Oberon/ https://github.com/rochus-keller/Oberon/ There are precompiled versions for Windows, macOS and Linux i386. The compiler can generate CLI assemblies, (platform independent) C99 files or LuaJIT bytecode.