Coder Social home page Coder Social logo

mobluse / ratbas2 Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 1.0 48 KB

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

License: BSD 2-Clause "Simplified" License

C 81.10% R 2.97% Shell 5.37% Makefile 0.94% Roff 9.63%
basic-programming-language basic-programming basic cx16 c64 vic20 ratfor fortran fortran66 goto

ratbas2's Introduction

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?

ratbas2's People

Contributors

mobluse avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

polluks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.