Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 485 Bytes

README.md

File metadata and controls

19 lines (16 loc) · 485 Bytes

Scratch pad for the language design

Learning about interpreters while learning Go by creating a terribly polite scripting language that you should definitely not use in production.

wouldyoumind summing(int[] numbers) int {
  mayhap length(numbers) == 0 {
    apologies "the array seems to be empty" // throw an exception
  }
  ...
}

please {
  permit result = summing([1, 2, 3]) // mutable
  insist result = summing([]) // immutable
} pardon me (e Error) {
  farewell(1)
}