/crafty

Crafting Interpreters in Nim

Primary LanguageNimMIT LicenseMIT

Crafting Interpreters in Nim

nimble build to compile and then run the resulting binary

Example

File: hello.craft

class Hello {
	greet() {
		print "hello";
	}
}

var h = Hello();
h.greet();

crafty hello.craft => hello