Coder Social home page Coder Social logo

waltje / basic Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nanoflite/basic

1.0 1.0 1.0 633 KB

:tv: A from-scratch BASIC interpreter with a focus on being easy to extend and port.

License: BSD 3-Clause "New" or "Revised" License

Shell 0.05% C 99.59% Makefile 0.18% BASIC 0.19%

basic's People

Contributors

nanoflite avatar rpoisel avatar waltje avatar

Stargazers

 avatar

Forkers

spectreorg

basic's Issues

Interrupts

Looks like the newly-implemented interrupts (ctrl-c in interactive mode, and the STOP statement in the program) do not work 100% right.

Although we do get a __STOPPED state and execution is terminated with a BREAK IN message, resuming it with CONT is having issues.

Needs further investigation.

Memory corruption

There seems to be an ongoing memory corruption in the storing of, and handling new lines.

New UI planned.

Given that the current UI is a bit limited, I wanted to explore the idea of adding a Curses layer to it. Already using that for two other semi-related projects, and it's working out well so far.

Curses (ncurses on Linux and OSX, PDcurses on Windows) will allow us to add stuff for cursor control, colors, all that good fun.

Crashes on ARM and ARM64

Although things do seem to work on the ARM versions, I do see crashes that indicate we are dealing with badly aligned data, which, on these platforms, often is a problem.

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.