GithubHelp home page GithubHelp logo

k-avi / siasl2 Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 232 KB

this is the repo for the (SIASL)² language a turing tarpit I'm making on my spare time

License: GNU General Public License v3.0

Lex 3.25% Yacc 10.20% C 84.78% Makefile 1.77%
bison-flex c esolang interpreted-programming-language interpreter language turing-tarpit

siasl2's Introduction

(SIASL)² or siasl2 is the follow-up language to SIASL. 
Their design is somewhat similar but (SIASL)² is much richer. 
and has a important differences with SIASL.

Like SIASL (SIASL)² is a turing tarpit inspired by brainfuck. 

a program a set on instructions applied on a 2d grid. 
However, (SIASL)² doesn't work the way siasl does. 

An instruction/symbols in (SIASL)² is 2 characters instead of one. 

Some instruction/symbols  are predefined and are immutable some other can be user defined. 

To learn more about how (SIASL)² works and how to write (SIASL)² programs; please check out the 
docu/docu.html file.

To compile the (SIASL)² interpreter you'll need flex, bison ,gcc and make.

If you have all of these installed on your computer simply type 
"make siasl2" in the siasl2 directory to copile the interpreter.

once compiled the siasl2 interpreter can be called with arguments : 

-c loads the command line interactive interpreter 
-s starts (SIASL)² with bf-like symbol lexic.
-f reads a program from a file
-h prints out help 
-x starts (SIASL)² with an hexadecimal lexic instead of normal bf-like symbols 
   nb: hexsiasl's current implementation is pretty awful and has worse performance than normal
       (SIASL)²

the default behavior of siasl2 when executed is to load the command line interpreter with the 
bf-like lexic (-sc)

If you call (SIASL)² with mutually exclusive options (like -sx) , the LAST one passed will be the 
one used at runtime.

siasl2's People

Contributors

k-avi avatar

Stargazers

 avatar

Watchers

 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.