Crack is a programming language designed to provide an easily developed scripting language and the implementation of a compiled language. The "crack" plan is a "script executor" online compilation source code, but it caches the appropriate code intermediate format. The crack language itself comes from the concept of C++++,java and Python, combining object-oriented programming, operator overloading, and strong typing.
Crack 0.5 This version adds support for generics and translates to generic container libraries. The Class I function and the functor support. The digital input system is modified to improve the processing of numeric types that depend on the platform. A hash table and a component library that is processed by command-line options. Add the typeof () operator. Full support for "Oper to" conversion implementation. Extended generator extensions allow classes of methods, constructors, and C function names for explicit specifications.
Sample code:
# import What we need from the appropriate modules&http://www.aliyun.com/zixun/aggregation/37954.html ">NBSP;
Import Crack.io cout, Formatter;
Import Crack.sys argv;
Import Crack.strutil Stringarray;
Import Crack.cont.treemap TreeMap;
# # Cheesey Set implementation.
Class Argset {
# Set of all args
treemap[string, int] __raw = {};
# # Initialize the set from the ARG list.
Oper init (Stringarray args) {
# transmits args from the ' array to the ' Set
UINT i = 1;
while (I < Args.count ()) {
__raw[args[i++]] = 1;
}
}
# # Dump The Set
void Dump () {
for (Item:in __raw)
Cout ' got $ (item.key) \ n ';
}
}
# Initialize the arg set from the actual args
Argset a = {argv};
# Write the Set
A.dump ();
Download Address: http://crack-language.googlecode.com/files/crack-0.5.tar.gz