An open API service indexing awesome lists of open source software.

https://github.com/mobluse/ratbas2

Rational BASIC ─ gives C-like structures to BASIC with only GOTO ─ Uses RatFOR (Rational Fortran)
https://github.com/mobluse/ratbas2

basic basic-programming basic-programming-language c64 commander-x16 commanderx16 cx16 fortran fortran66 goto ratfor vic20 x16

Last synced: about 2 months ago
JSON representation

Rational BASIC ─ gives C-like structures to BASIC with only GOTO ─ Uses RatFOR (Rational Fortran)

Awesome Lists containing this project

README

        

# RatBAS2
Rational BASIC ─ gives C-like structures to BASIC with only GOTO ─ Uses RatFOR (Rational Fortran).

Convert from RasBAS2 (RatFOR with BASIC V2 in the lines) into BASIC with labels:
`r2non.sh test.r`
The BASIC in RatFOR need to use backtick (\`) instead of semicolon (;). See the file `test.r` for an example of RatBAS2 code.

Then convert using [`autonum.sh`](https://web.archive.org/web/20200530202921/http://temp.murray2.com/threads/basic-without-line-numbers.406/) to a file with line numbers.

The `ratfor` source comes from Raspbian Buster Linux (i.e. same as Debian), using `apt source ratfor`, but has been modified
to have an extra argument `-6` that translates into Fortran 66 instead of Fortran 77. Build `ratfor` using `make` in Linux.

[RATFOR — A Preprocessor for a Rational Fortran](https://wolfram.schneider.org/bsd/7thEdManVol2/ratfor/ratfor.pdf), Brian W. Kernighan

[BASIC without line numbers?](https://web.archive.org/web/20200530202921/http://temp.murray2.com/threads/basic-without-line-numbers.406/)