mobluse / ratbas2

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 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, Brian W. Kernighan

BASIC without line numbers?

About

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

License:BSD 2-Clause "Simplified" License


Languages

Language:C 81.1%Language:Roff 9.6%Language:Shell 5.4%Language:R 3.0%Language:Makefile 0.9%