Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

A custom macro syntax is also planned.

Built-in macros

Some other examples of macros already implemented in boo:

Code Block

print "hello!"

assert x == true

debug "print debug message"

using file=File.OpenText(fname): //disposes of file when done
    print(file.ReadLine())

o1 = object()
lock o1:  //similar to "synchronized" in java
	pass