News for hackers. Stuff that matters.

kekc_leader

Re:FreeOberon cross-platform Oberon language IDE on Friday November 24, 2023 @05:55PM (#38409293)
Blackbox is already for Linux. Also there is a Linux 64-bit version of a limited console compiler.
Re:FreeOberon cross-platform Oberon language IDE on Friday November 24, 2023 @05:53PM (#38409271)
Could you please give a link to the Zig's comptime feature for generics?
Re:FreeOberon cross-platform Oberon language IDE on Tuesday November 14, 2023 @09:15PM (#38272546)
Oberon does not have LENGTH
Re:FreeOberon cross-platform Oberon language IDE on Tuesday November 14, 2023 @09:14PM (#38272537)
"Screaming" keywords -- is not an issue even for those who use Notepad. Just hold SHIFT with your pinky lol :)
Re:FreeOberon cross-platform Oberon language IDE on Tuesday November 14, 2023 @09:12PM (#38272523)
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.

Re:FreeOberon cross-platform Oberon language IDE on Tuesday November 14, 2023 @09:07PM (#38272497)
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.
Re:FreeOberon cross-platform Oberon language IDE on Tuesday November 14, 2023 @09:02PM (#38272472)
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).

Re:FreeOberon cross-platform Oberon language IDE on Tuesday November 14, 2023 @09:00PM (#38272456)
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.
Re:FreeOberon cross-platform Oberon language IDE on Tuesday November 14, 2023 @08:57PM (#38272440)
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).

Re:FreeOberon cross-platform Oberon language IDE on Tuesday November 14, 2023 @08:53PM (#38272412)
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.

Re:FreeOberon cross-platform Oberon language IDE on Tuesday November 14, 2023 @08:50PM (#38272393)
Why not? Use Free Oberon, I will help.
Re:FreeOberon cross-platform Oberon language IDE on Tuesday November 14, 2023 @08:47PM (#38272360)
The TUI for Free Oberon is built from scratch. The programming module is called "OberonVision" (like TurboVision in DOS).
Re:FreeOberon cross-platform Oberon language IDE on Tuesday November 14, 2023 @08:44PM (#38272341)
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.
Re:FreeOberon cross-platform Oberon language IDE on Tuesday November 14, 2023 @08:40PM (#38272323)
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.

Re:FreeOberon cross-platform Oberon language IDE on Tuesday November 14, 2023 @08:37PM (#38272303)
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.
Re:FreeOberon cross-platform Oberon language IDE on Tuesday November 14, 2023 @08:36PM (#38272298)
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.

Re:FreeOberon cross-platform Oberon language IDE on Tuesday November 14, 2023 @08:35PM (#38272285)
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.
Re:FreeOberon cross-platform Oberon language IDE on Tuesday November 14, 2023 @08:32PM (#38272265)
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?

Re:FreeOberon cross-platform Oberon language IDE on Tuesday November 14, 2023 @08:13PM (#38272144)
Hi everyone. I'm the Free Oberon creator :) Will be happy to answer your questions.