[Oberon] OberonErrors.Text.

Joerg joerg.straube at iaeth.ch
Sun Jan 8 19:10:53 CET 2023


Just a remark to ProjectOberon:
If you place the error strings directly in the compiler (instead of an external file), you have to be aware that ORG.maxStrx restricts the string space of one module to 2400 characters.

When I enhanced the compiler with new features (eg numeric CASE, improved CONST evaluation…) I had to add more error strings as well. As I didn‘t want to increase macStrx, I shortened/streamlined all error strings in the compiler to make room for more error strings.

br
Jörg

> Am 08.01.2023 um 17:05 schrieb Paul Reed <paulreed at paddedcell.com>:
> 
> On 2023-01-07 12:43, Hans Klaver wrote:
>> In the past ... the compiler only gave error numbers...
> 
> Those were the days... certainly not ideal, but perhaps appropriate in extremely-resource-constrained systems.
> 
> And sometimes even that's more than you need. Kind of like having a buddy sitting next to you pointing to the offending line of code and saying, "Hmmm... I don't like the look of that!" and you going, "Oh, yeah, good point, thanks." ;-)
> 
> Paul
> --
> Oberon at lists.inf.ethz.ch mailing list for ETH Oberon and related systems
> https://lists.inf.ethz.ch/mailman/listinfo/oberon


More information about the Oberon mailing list