Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

36 lines (27 sloc) 0.971 kb
macro(do ~(b: Block)): b body
macro(~x =! ~y):
Set new(x line, x to-pattern to-node, y)
macro(~x := ~y): Define new(line, x, y)
macro(define(~x) ~(y: Block)):
`(~x := ~(y body))
macro(~x **= ~y): `(~x =! (~x ** ~y))
macro(~x *= ~y): `(~x =! (~x * ~y))
macro(~x <<= ~y): `(~x =! (~x << ~y))
macro(~x >>= ~y): `(~x =! (~x >> ~y))
macro(~x &&= ~y): `(~x =! (~x && ~y))
macro(~x &= ~y): `(~x =! (~x & ~y))
macro(~x ||= ~y): `(~x =! (~x || ~y))
macro(~x |= ~y): `(~x =! (~x | ~y))
macro(~x += ~y): `(~x =! (~x + ~y))
macro(~x -= ~y): `(~x =! (~x - ~y))
macro(~x /= ~y): `(~x =! (~x / ~y))
macro(~x ^= ~y): `(~x =! (~x ^ ~y))
macro(~x %= ~y): `(~x =! (~x % ~y))
macro(class(~name) ~(b: Block)):
Class new(name line, name, b body)
macro(class(<< ~obj) ~(b: Block)):
SingletonClass new(obj line, obj, b body)
macro(class(~name < ~sup) ~(b: Block)):
Class new(name line, name, b body, sup)
macro(module(~name) ~(b: Block)):
Module new(name line, name, b body)
Jump to Line
Something went wrong with that request. Please try again.