Coder Social home page Coder Social logo

lolan's Introduction

LOLAN

Author: Richard Brooksby
Date: 2016-03-07

LOLAN is a compiler for a Forth-like language for the Amstrad CPC microcomputer.

I wrote it when I was 16. At that time I had never really seen a compiler or any programming languages except BASIC and assembler. I was fascinated by the Jupiter ACE microcomputer, which had FORTH instead of BASIC, and somehow got hold of the book "FORTH on the BBC Microcomputer" by Richard de Grandis-Harrison. I stared at that book for a long time and deduced how to make a compiler for FORTH without any real knowledge of compilers.

LOLAN is not a traditional threaded-interpretive FORTH, but compiles straight to Z80 opcodes. Most words are compiled straight to CALL instructions.

The computer was written using the GEN80 assembler, and the source code is in a binary format. I am working on decoding it.

Everything still runs in a CPC464 emulator. You can load the "lolan.dsk" and enter:

RUN"LOLANC.BIN

to start the compiler. Try:

0 load> pede.0

to load the "Pede" game, then:

game

to start it. It was programmed for the Amstrad joystick, and you may find it impossible to control.

There's also a Tron lightbikes game, referring to the 1982 movie "Tron".

I made various low-level utilities in LOLAN.

There was a successor, LOLAN 2, which I'll also work on retrieving from the archives.

lolan's People

Contributors

larsbrinkhoff avatar rptb1 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

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.