Skip to content

Instantly share code, notes, and snippets.

#import 'https://gist.githubusercontent.com/aranega/03ca7cf65c879e3bf4f3/raw/refact.catsoo'
def _logwrap(o : Object, s : String)
{
log(s);
}
def metrics()
{
var elems := model objects();
@aranega
aranega / catsoo.md
Last active April 6, 2017 07:55
CatsooLang documentation

CatsooLang Documentation (under construction...)

What is CatsooLang?

CatsooLang is a little Domain Specific Langage (DSL) that allows you to handle models in a textual programming way into http://www.genmymodel.com. You can handle very low level feature of your model. CatsooLang interpreter is evaluated on the client side only, there is no intensive communication with server (there is some, we will come back on this later). Here is some details about the language:

  • dynamic typed,
  • adhoc polymorphic (function overloading) and type constraints/bounds,