kekc_leader
kekc_leader on Hacker News
Blackbox is already for Linux. Also there is a Linux 64-bit version of a limited console compiler.
Could you please give a link to the Zig's comptime feature for generics?
Oberon does not have LENGTH
"Screaming" keywords -- is not an issue even for those who use Notepad. Just hold SHIFT with your pinky lol :)
Oberon also has multiple RETURN statements. Only the latest Oberon-07 version does not. So before 2007 Oberon always had multiple RETURNs.
And these keywords can be said to be "screaming" only by a person who does not understand what a "habbit" is. People get used to "screaming" keywords very quickly. And turns out, the uppercase keywords are more practical. Typing them does not take more time than typing curly braces all the time in other languges (you also need to press SHIFT for that, you know). The big keywords allow visual separation of syntax sections, that Go lacks so much.
I.e. in Go, when you see a for-loop, it may not actually be a for-loop, but a while or a foreach loop -- to find out, you need to count the semicolons in the line.
Oberon is perfect for teaching purposes. It is understandable from the first glance. On the first lesson, even 9-year-olds start writing graphical programs! I've been testing Free Oberon as an edutcational tool since 2016. Kids in a sport summer camp use it.
Free Oberon is used as educational tool (since 2016).
I also use it in production code for web-development. It serves as a backend for a high-load interactive website (langauge courses with exercises).
Oberon is used in microcontroller programming, medical device programming, railways in Switzerland use Oberon, atomic power station in Rostov (Russia) use it, a power station in Kaliningrad also uses Oberon.
It uses Ofront+ -- a descendant of Ofront. So that's another transpiler.
Ofront+ is much more developed, for example it allows compiling in Oberon-07 standard with the addition POINTER TO ARRAY and 2-byte CHARs. That is what Free Oberon uses by default. In future versions of Free Oberon, there will be a selection of Oberon standards (Ofront+ provides Oberon 1990, Oberon-2, Oberon-07, Component Pascal, and the so called Oberon-3).
BlackBox is a great program, but it is a self-contained system, that isn't well-suited for classical programming (i.e. making executables: console applications, grpahical games, integrating with C-code).
If you need an Oberon compiler in classical sence, use Free Oberon.
Why not? Use Free Oberon, I will help.
The TUI for Free Oberon is built from scratch. The programming module is called "OberonVision" (like TurboVision in DOS).
Yes, I intentionally wanted to make it create real binaries. I had a version running on BlackBox, which produced machine code too, but only 32-bit code, and there were limitations on using code from other programming languages (BlackBox only allows so- or dll-files to be plugged in). I made it so people can create stand-alone executable files, like, in example, Telegram.
Free Oberon includes a console compiler (fob), which you can use in any IDE.
Oberon is a langauge with all-caps keywords, so it does not really require syntax highlighting. So the language server might not be so useful for this language (I don't use IDE tips etc., so maybe there could be some benefits there, I don't know).
The Free Oberon IDE resembles Turbo Pascal-style IDE, but this currently runs in a graphical window and can be easily customized.
In Free Oberon, you can also make C-bindings very easily. In fact, there is Allegro5.Mod in the source files as a good example.
Please let me also know about the results. I don't have access to MacOS, but would love to make Free Oberon available there too.
My students with MacOS are learning using Free Oberon in an emulator.
You can access the WinAPI, network etc. etc. (also you have the platform abstraction level) using modules that are not documented, but are available in source in the Free Oberon directory. See Data/bin/OfrontPlus/Mod/Lib. Please let me know what module you need and I can add it into the documentation.
Thank you very much. I love Oberon for its simplicity and structuredness, and I find it best-suited for all programming tasks. I even use it in web-programming. So when I found out about Oberon, I noticed that there is nothing that I can easily install to start programming in it. I tried XDS, OO2C, VOC, BlackBox, and everything was not that I wanted. It was nothing as simple as, for example, Free Pascal, where you just download and use it. So I made Free Oberon. I switched several times from SDL 2 to Allegro 5 and 4 and back (with a lot of recoding on each step), also switched compilers from VOC to BlackBox and finally Ofront+.
I'm planning to substitute it with my own Oberon compiler at some point, so I read everything about compiler construction and do Oberon experiments a lot.
Could you please describe the issue with the full-screen a bit more? You can create an "issue" in the FreeOberon Github repo. I think it would be possible to fix it. Are you using two monitors?
Hi everyone. I'm the Free Oberon creator :)
Will be happy to answer your questions.