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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.2
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.2
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i menace

Weekly Downloads

0

Version

0.0.2

License

ISC

Last publish

Collaborators

  • jaz303