An interpreter for the 1991 Oriel scripting language
Rust
57
44 commits
updated Nov 19, 2023
Oriel is a "graphics-based batch language" from the Power Tools series of books. This interpreter aims to accurately recreate the 1991 implementation of the language for Windows 3 on modern hardware using Rust and Gtk+3.
To read about Oriel, see the book's chapter in book.pdf
Support for the 1994 Windows NT version of Oriel may be added in the future, but "Windows NT Power Tools" is extremely elusive.

To compile the program, run
cargo build --release
Then, either run the program using cargo
cargo run --release source.orl
Or use the binary found at target/release/oriel.
All of the 55 example programs from the book can be found in the examples directory. See EXAMPLES.md for an index.
A hello world program looks as follows:
DrawText(10,10,"Hello world!")
WaitInput()
Copyright (C) 2023 Wojciech Graj
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
Portions of this software are copyright of their respective authors:
A big thank you goes out to:
44 commits
Rust
100.0%
An interpreter for the 1991 Oriel scripting language
Rust
57
44 commits
updated Nov 19, 2023
Oriel is a "graphics-based batch language" from the Power Tools series of books. This interpreter aims to accurately recreate the 1991 implementation of the language for Windows 3 on modern hardware using Rust and Gtk+3.
To read about Oriel, see the book's chapter in book.pdf
Support for the 1994 Windows NT version of Oriel may be added in the future, but "Windows NT Power Tools" is extremely elusive.

To compile the program, run
cargo build --release
Then, either run the program using cargo
cargo run --release source.orl
Or use the binary found at target/release/oriel.
All of the 55 example programs from the book can be found in the examples directory. See EXAMPLES.md for an index.
A hello world program looks as follows:
DrawText(10,10,"Hello world!")
WaitInput()
Copyright (C) 2023 Wojciech Graj
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
Portions of this software are copyright of their respective authors:
A big thank you goes out to:
44 commits
Rust
100.0%