[Oberon] Batch processing of Oberon commands

Michael Schierl schierlm at gmx.de
Fri Jun 12 17:14:59 CEST 2020

Hello Andreas,

Am 11.06.2020 um 20:52 schrieb Andreas Pirklbauer:
> Extended Oberon now contains a simple batch processing facility,
> which allows users to activate multiple commands as follows:
> Oberon.Batch
>    ORP.Compile A.Mod B.Mod C.Mod ~
>    System.Watch ~
>    MyModule.MyCommand A B C ~
>    ~
> which executes the set of commands until the return code
> of any command is different from zero or the syntax is not
> that of a valid Oberon command.

Thanks for picking that up, it is very useful for automating the
creation of Oberon images.

> Any command can, but does not have to, set a return code by
> calling the procedure Oberon.Return(res)

Any particular reason why you did not keep the other changes in my pull
request, which added Return values to commands that are likely to be


or in case you rebased your repo again:


I know changing the compiler is tricky, as it makes bootstrapping harder
(you cannot compile the compiler on a system that does not have the
Oberon.Return PROCEDURE yet). But the other commands (ORL.Link,
ORL.Load, System.Free, System.CopyFiles, System.RenameFiles,
System.DeleteFiles) should be straightforward.



More information about the Oberon mailing list