module Novika

Extended Modules

Defined in:

novika.cr
novika/capability.cr
novika/dict.cr
novika/engine.cr
novika/error.cr
novika/forms/block.cr
novika/forms/boolean.cr
novika/forms/builtin.cr
novika/forms/byteslice.cr
novika/forms/color.cr
novika/forms/decimal.cr
novika/forms/foreign.cr
novika/forms/form.cr
novika/forms/quote.cr
novika/forms/words.cr
novika/image.cr
novika/object_pool.cr
novika/substrate.cr
novika/tape.cr

Constant Summary

BlockMaps = ObjectPool(BlockIdMap).new(create: -> do BlockIdMap.new end, clear: ->(map : BlockIdMap) do map.clear end)

A pool of BlockIdMap objects.

You generally don't need to touch this.

EFFECT_PATTERN = /^(\(\s+(?:[^\(\)]*)\--(?:[^\(\)]*)\s+\)):/

Regex that can be used to search for a pattern in Block comments. Perfer Form#effect over matching by hand.

VERSION = "0.1.4"

Instance Method Summary

Instance Method Detail

def colorful? : Bool #

Returns whether the output of Novika should be colorful.

Whether this will be respected by general Novika code cannot be guaranteed, but it is guaranteed to be respected by the CLI frontend.