PCASTL Interpreter Changelog

What's new in PCASTL Interpreter 2.5

Nov 24, 2014
  • Calls to dynamic-link library or a shared object library now return possible called function return values by type.
  • Cast operands can now be of non fundamental type.
  • Right hand side result before assign is no more duplicated.
  • Fixed the non display of library handles for 32-bit builds.
  • Fixed fillobject internal function node type / data type confusion.
  • Fixed 32-bit math operators with float operand data type error.
  • Fixed statements inside a source file not added for garbage collection.

New in PCASTL Interpreter 2.4 (Nov 29, 2012)

  • Readded float variable type for library access.
  • Fixed allocated data double deletion conflicts in garbage collection.
  • Fixed floating point and double parameter passing to 64-bit Windows dlls.
  • Added even or lower than five parameters functions stack alingment in 64-bit Windows dlls calls for speed optimized builds.

New in PCASTL Interpreter 2.3 (Nov 29, 2012)

  • The interpreter can now be built for 64-bit Windows, 64-bit Linux and Mac OS X Mountain Lion. The code still compile for 32-bit Windows and 32-bit Linux.
  • The call of a function with only a return statement within another function does not cause the top function to return anymore.
  • The reference operator "&" applied to a subscript inside a function does not cause the script to abort anymore.
  • The "vartomem" and "memtovar" internal functions can now receive results of the reference operator.
  • Fixed "source" internal function calls in another function.
  • Added size_t variable type.
  • Removed float variable type.Added internal functions "repeat", "vartomem", "memtovar", "memcpy", "memset", "memclone" and "memory".
  • Added variable types "raw memory", "byte" and "memory address".
  • calls to a dynamic-link library or a shared object library can now receive a raw memory argument.
  • Reference operator "&" can now be used in combination with subscript operator for string and raw memory.
  • Indirection operator "*" applied on the left side operand of an assignation now get the right value assigned to the variable referenced.
  • Fixed garbage collector pointer following issue.

New in PCASTL Interpreter 2.2 (Nov 29, 2012)

  • Added internal functions "repeat", "vartomem", "memtovar", "memcpy", "memset", "memclone" and "memory".
  • Added variable types "raw memory", "byte" and "memory address".
  • calls to a dynamic-link library or a shared object library can now receive a raw memory argument.
  • Reference operator "&" can now be used in combination with subscript operator for string and raw memory.
  • Indirection operator "*" applied on the left side operand of an assignation now get the right value assigned to the variable referenced.
  • Fixed garbage collector pointer following issue.

New in PCASTL Interpreter 2.1.1 (Nov 29, 2012)

  • Statements in a "return" call argument get now fully executed.

New in PCASTL Interpreter 2.1 (Nov 29, 2012)

  • Added internal functions "alloc_copy" and "free".
  • "source" internal function can now be used inside a file read by this function.

New in PCASTL Interpreter 2.0.1 (Nov 29, 2012)

  • Statements on the command line are no more deleted immediately after execution.
  • They are deleted by the garbage collector when not referenced.
  • Fixed the "!=" operator issue.

New in PCASTL Interpreter 2.0 (Nov 29, 2012)

  • Added C fundamental types: char, signed char, unsigned char, short, unsigned short, int, unsigned int, long, unsigned long, long long, unsigned long long, float and long double.
  • Added cast operator.
  • Added reference "&", indirection "*" and dereference "->" C operators.
  • Added pointer type to all PCASTL base types. Also, pointer to pointer and so on.
  • Object, array and list member can now be used with ++ and -- operators.
  • Assignments of functions and code segments do now copy the command syntax tree, so statements on the command line are now deleted immediately after execution.
  • Added internal function "freetree".
  • Garbage collection does now manage strings, objects, arrays and lists.
  • String assignation from a variable to another now does not allocate and copy.
  • Added internal functions "strclone" and "strcpy".
  • Arguments for "scanf", "fscanf" and "sscanf" must now be passed as in C language.
  • Added internal functions "openlib", "getfuncpt" and "closelib" to allow calls to a dynamic-link library or a shared object library.
  • Removed internal functions "catlist", "listsize" and "sublist".

New in PCASTL Interpreter 1.10 (Nov 29, 2012)

  • Internal function name search improved.
  • Added internal functions "atovar" and "vartoa".
  • "for" and "while" loops can now have blank control fields.