menace

0.0.2 • Public • Published

menace

This is a very early implementation of a Smalltalk/Self/Io-inspired language.

At the moment there's nothing useful to the end user but it might be worth taking a peek if you're interested in observing a language evolve from its beginnings...

Syntax

No-argument messages

console inspect

Messages with arguments

console print:"Hello"
console print:"whoops!" withPrefix:"DEBUG"

It's possible to define selectors with comma-separated argument fragments:

canvas drawLineFrom:10,10 to:30,30

TODO

  • Flesh-out object model
  • While, if control structures
  • Binary expressions
  • Collection parsing + object model

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i menace

    Weekly Downloads

    2

    Version

    0.0.2

    License

    ISC

    Last publish

    Collaborators

    • jaz303