Giter VIP home page Giter VIP logo

lox68k's Introduction

The Lox language running on the Sirichote 68008 kit

Synopsis

What is the Lox language?

It is a high-level interpreted programming language in the spirit of Python, Lua, or Javascript. Lox is dynamically typed, has garbage collection and supports functional programming idioms with closures and first-class functions. It also includes a simple class-based object system, featuring single inheritance, constructors and super calls. Lox is controlled by a read-eval-print loop (REPL). Here is an overview of the Lox language.

What is the Sirichote 68008 Kit?

It is an educational single-board computer using the ancient Motorola 68008 CPU, designed by Wichit Sirichote, described here. It is mainly intended to learn programming the 68k in machine language. It has no operating system, just a little monitor program and communicates with a terminal (emulator) via RS232. If you want to buy/build one, contact Wichit via his web site.

The combination

Lox was designed as a toy language to study the implementation of interpreters, but due to its small size and simplicity it's very well suited as a scripting language for a single board computer.

The Lox68K port also contains several language extensions and native functions to access the Kit peripherals and to integrate machine level coding. I wish I had such a system in the 80ies when learning computing, but had to use stupid BASIC...

For testing and comparison, I also added a few #ifdefs to the source to be able to compile it as Windows/Linux executables, too.

Continue reading the docs

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.