Giter Site home page Giter Site logo

mwnci's Introduction

mwnci

Monkey programming language interpreter designed in Writing An Interpreter In Go. A current guide is available, though still work in progress.

It's based on Steve Kemp's monkey with many additions

Monkey Scripting Language (MSL) is an interpreted language (I've not read the sequel to "Writing An Interpreter In Go") for writing applications. It's also a good language for writing arbitrary commands and tasks.

A MSL script consists of a sequence of commands. It is, for the most part, a free form language. That is, lines don't have to start or end at or before a particular column; they can just continue on the next line. White space is ignored except for the separation of tokens.

Mwnci is Welsh for Monkey, and pronounced moon-key, but with a shorter "oo" (as in look/book). It's fine to say monkey

The wiki can be found here.

Table of Contents

Quickstart

Quick start

git clone https://github.com/csd129/mwnci.git
edit config.conf
./configure
make install

mwnci's People

Contributors

csd129 avatar

Watchers

 avatar  avatar

mwnci's Issues

repl badness

The repl is kinda working, but after each command or a set of commands a colon (:) is needed at the end for the code to be interpreted.
E.g
include("foo"):
foreach n in 1..10 {
println(n)
}:

That's the badness. Also there's a looping issues with any erroneous entry that will continue to whinge after correction, thus not executing/interpreting any new commands.

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.