News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu

LocoBasic - Light version of Locomotive BASIC

Started by mv, 00:30, 05 January 25

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mv

Love BASIC? Meet LocoBasic – a lightweight, streamlined take on Locomotive BASIC, built for speed and simplicity. Whether you're crunching numbers, testing ideas, or diving into retro vibes, LocoBasic has your back!

  • Focused on calculations and the core of Locomotive BASIC
  • Faster than CPCBasicTS (Try it!)

Key Features

  •     Lightweight & Portable: Runs in your browser or on the command line with Node.js - compile directly to JavaScript.
  •     Essential Control Structures: Supports IF...ELSE, FOR, and WHILE.
  •     Subroutines: Use GOSUB and RETURN for modular programming (GOTO is not supported!)
  •     Mathematical Precision: JavaScript-powered calculations ensure accurate results.
  •     Utility Functions: Commands like ROUND, TIME, and string handling with STR$, LEFT$, and more.
  •     Simple Input & Output: PRINT and INPUT.

Getting Started

  •     Run LocoBasic in your browser – no installation required.
  •     Or, use Node.js for command-line execution.
  •     Check out the README for full details.

Let me know what you think. Happy coding!

GUNHED

Would be awesome to have that for a real CPC and using the 2nd register set of the Z80, to release the full power of the Z80!  :) :) :)
http://futureos.de --> Get the revolutionary FutureOS (Update: 2024.10.27)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2021.12.26)

genesis8

At the time where I was using my CPC 664, a younger self, I was using a basic program to helping me playing a PBM (Play by Mail) game : Shaddam where you had to attack stars and conquer most of the map.

With informations from my spies the basic program could help me know if winning the star was possible by running many statistical trys and give me a win percentage. It took time to computer trys. It would have been nice to have LocoBasic at this time or any basic compiler :-)
____________
Amstrad news site at Genesis8 Amstrad Page

Powered by SMFPacks Menu Editor Mod