Giter VIP home page Giter VIP logo

isla's Introduction

Isla

http://islalanguage.org

http://github.com/maryrosecook/isla

A programming language for children. The interpreter is written in JavaScript. It runs in node or the browser.

Language example

isla is a person
isla lunch is 'Jelly Tots'

drum is a toy

isla toys is a list
add drum to isla toys

For more details on the language, see the language guide: https://github.com/maryrosecook/isla/wiki/Isla-language-guide

Install

Install Node.js and npm: https://github.com/isaacs/npm

Install Isla. This will clone the official git repo and then install it.

$ git clone https://github.com/maryrosecook/isla
$ cd isla
$ npm install

Run

Node.js

var Isla = require('../src/isla').Isla;
Isla.Interpreter.interpret("write 'Hello, world.'");

Browser

<script type="text/javascript" src="/node_modules/underscore/underscore-min.js"></script>
<script type="text/javascript" src="/node_modules/multimethod/multimethod-min.js"></script>
<script type="text/javascript" src="/node_modules/pegjs/lib/peg.js"></script>
<script type="text/javascript" src="/src/isla.min.js"></script>

<script type="text/javascript">
  Isla.Interpreter.interpret("write 'Hello, world.'");
</script>

Run the tests

$ npm install --dev
$ npm test

Clojure

The Clojure Isla compiler is now at github.com/maryrosecook/islaclj

isla's People

Contributors

maryrosecook avatar adamisntdead avatar tomachinz avatar

Stargazers

ajith avatar  avatar William Cheung avatar Will Hall avatar Tibin Sunny avatar quinn_jh avatar Jessica Burns avatar Beni Cherniavsky-Paskin avatar Aaron Barnes avatar Mitchell Mark-George avatar Sameer Kolhar avatar netop://ウエハ avatar Pierre López Barbosa avatar Trevor Hickey avatar Sam Carlton avatar Dustin avatar Claudio Alessi avatar Parhām avatar Tim Morgan avatar Max Hallinan avatar Jan Gaura avatar Josef Pospíšil avatar shaun avatar Jin Liu avatar Jörgen Brandt avatar Adrien avatar Casiano Rodriguez-Leon avatar Sundar avatar Jeremy Kidwell avatar  avatar Hady Mahmoud avatar Peter Renshaw avatar Marco Araujo avatar Brendan Houng avatar Avery Pinko avatar AnsonT avatar Angus H. avatar aIex quiterio avatar Shadman Rakeen avatar John Paul Ashenfelter avatar Kostas Minaidis avatar Elektra avatar Will Cook avatar  avatar Michael Anthony avatar Alex Weber avatar april avatar Brian Glusman avatar  avatar Sebastian Koslitz avatar Serhii Komar avatar Amanda Shih avatar  avatar Tanel avatar Andreas McDermott avatar SISMO DESIGN avatar S. Rey-Coyrehourcq avatar Gao Jie(Air Bay Creative  Founder) avatar Orlin M Bozhinov avatar Yuan Qing Lim avatar Hassan Hayat avatar Julien Fontanet avatar Brian Kim avatar Ian Villeda avatar Pierre-Yves Vandenbussche avatar Vilson Vieira avatar Nate Smith avatar Juan del Río Pacheco avatar Christina Whyte avatar Duke Leto avatar Guilherme Felitti avatar Malte Kosian avatar Dan Allison avatar Arthur Corenzan avatar RJ avatar Basil James Whitehouse III avatar Scott Elcomb avatar Luca avatar Michael Grassotti avatar Oren Dobzinski avatar Bob Nystrom avatar  avatar Márk Bartos avatar Paul Young avatar Garrick van Buren avatar Rotem Rubnov avatar Michael Hanson avatar Joe Colburn avatar Tyler Longren avatar Doug Holton avatar Laurence Pakenham-Smith avatar Michael Cameron avatar Walter Rumsby avatar Ben Sparks avatar Thanh Tran avatar  avatar Jeff Zerger avatar Cameron avatar Joseph D. Marhee avatar Dylan Valade avatar

Watchers

Orlin M Bozhinov avatar  avatar ​ codeberg.org/ngn avatar Jerome Covington avatar James Cloos avatar Casiano Rodriguez-Leon avatar Malte Kosian avatar Michael Anthony avatar Joe Colburn avatar Gao Jie(Air Bay Creative  Founder) avatar  avatar Adrienne Lowe avatar  avatar Katya Sorok avatar

isla's Issues

Fails to parse whitespace consistently

When I try to parse the following string on the demo website it fails:

cherry is  a square

This is due to the double space before the 'a'. A double space before the 'is' or after the 'a' does not break the code.

If I get the packages for isla installed I might add a test case.

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.