Git Product home page Git Product logo

slothlang's Issues

Improve CI and Unit Testing

Any help with adding test cases to ensure new edits to the SlothVM and parser continue to work as expected is welcome.

Improve Parser

As of right now, the parser gets thrown off by whitespace in programs. The parser should just ignore extraneous whitespace. All in all, I think the parser should be a bit more robust and can be improved upon greatly.

Write example programs

Currently, the only SlothLang program is HelloWorld. SlothLang could use some fun and interesting programs to show it off.

GOTO causes a seg fault

There seems to be an issue with the GOTO command causing a segmentation fault when executed. I believe there is an error in setting the program counter.

Proof Read/Edit Documentation

In order to make SlothLang more accessible, documentation is key. This issue is for anyone who wants to help edit the docs. Whether it be typo fixes, formatting, or new information, all help is welcome.

SlothLang not Turing Complete?

It seems like SlothLang programs are pushdown automata, not turing machines, which limits the possible programs that can be written.

The only memory available to programs is the stack, and the targets of all gotos must be specified absolutely in the code, meaning that programs can only have a finite number of states, which fits the description in the linked article.

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.