Simple scripting language for embing in program? -
i provide simple scripting interface program i'm working on. program expose functions called script. don't need much, maybe variables, if/else, , loops. 2 popular languages seem lua, , python. not lua days of writing world of warcraft plugins , both seem lot more complicated need. other languages available?
try ring programming language (http://ring-lang.net)
the compiler + virtual machine 15,000 lines of c code
the ring can embedded in c/c++ projects, extended using c/c++ code and/or used standalone language.
the language simple, trying natural, encourage organization , comes transparent implementation. comes compact syntax , group of features enable programmer create natural interfaces , declarative domain-specific languages in fraction of time. small, fast , comes smart garbage collector puts memory under programmer control. supports many programming paradigms, comes useful , practical libraries. language designed productivity , developing high quality solutions can scale.
learn embedding language https://en.wikibooks.org/wiki/ring/lessons/embedding_ring_interpreter_in_c/c%2b%2b_programs
Comments
Post a Comment