Giter Club home page Giter Club logo

i2l's Introduction

i2l - Portable I2L interpreter in C

Copyright 2016 Eric Smith [email protected]

i2l development is hosted at the i2l Github repository.

Introduction

Developed starting in 1976, the XPL0 programming language was originally compiled to I2L bytecode, similar to P-code, which was then interpreted by an I2L interpreter, typically written in assembly language. In the early years, XPL0 was most commonly used on 6502-based microcomputers, including the Apple II, though I2L interpreters were also written for the 8080/Z80 and 8088. More recent XPL0 compilers generate native code.

This I2L interpreter is written in C and is intended to be fairly portable. It is intended to execute I2L code generated by the XPL V4B or V4D compilers. There are stubs for supporting I2L code generated by the V5.6D compiler, which added floating point support.

This I2L interpreter does not support the intrinsics specfic to the Apple II, which include graphics operations. It is intended to be suitable for programs which use the text console and disk files for I/O.

Status

As of 2016-11-14, many features have not been tested. The prime demo works, but the xplv4d compiler does not.

Usage

The i2l interpreter expects as an argument the filename of an I2L intermediate code file.

Examples:

  • i2l demo/prime.i2l

    Runs the "prime" demo program.

  • i2l demo/prime.i2l --trace prime.trace

    Runs the "prime" demo program slowly, while writing a trace of the I2L execution to prime.trace.

License information

This program is free software: you can redistribute it and/or modify it under the terms of version 3 of the GNU General Public License as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

i2l's People

Contributors

brouhaha avatar

Watchers

James Cloos 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.