Skip to content
This repository has been archived by the owner on May 23, 2022. It is now read-only.

Latest commit

 

History

History
24 lines (16 loc) · 511 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 511 Bytes

Siren0

A minimal pure purely object oriented prototypical language.

Example

| Root |

;; All modules are parametric, there are no globals whatsoever.
;; You need to give each module what they need to work with.
Prelude => Root load: "library/prelude.purr" with: [Root].

;; Main is PURE! You need to give it an IO () thingie.
main => (Prelude True /\ Prelude False)
        then: { apply => Root IO print: "Cool!" }
        else: { apply => Root IO print: "Bleh :(" }

Licence

MIT