Hi All, A new version 1.5.0 of gcmc has been released. There have been quite a few changes on the syntax and semantic level, as well as additional built-in functions for various things.
An important semantic change is how add/subtract (+ and -) handles undef values. A second set of operators +| and -| supplement the new semantics. Another feature is passing function arguments by reference. This allows for better abstractions for some types of constructs (as multiple return values) and can improve execution speed if you are handling huge vector-lists. Several more language features are implemented to make gcmc more expressive and closer to what other programming languages provide, such as ternary operator (?:) and pre/post increment/decrement as part of expressions. A repeat() {} construct enables quick and simple loops that need to be executed a fixed number of times. Canned cycles have been added as library functions. There is no point in calling underlying canned-cycle-gcode because gcmc already possesses all tools to perform the operations using G0/G1/G4 primitives. Letting gcmc handle canned cycles also makes the resulting gcode more portable. An example is provided in the tarball. The documentation has been updated to include all the changes and adds a new documentation for library functions (see below for link). The list of changes for version 1.5.0 is long, so I'm not going to include the details here. You can find the list on the gcmc homepage. You can get the new version from the homepage: http://www.vagrearg.org/content/gcmc The updated documentation is online at: http://www.vagrearg.org/content/gcmc-man http://www.vagrearg.org/content/gcmc-syntax http://www.vagrearg.org/content/gcmc-funcref http://www.vagrearg.org/content/gcmc-library All documentation is, of course, included in the tar-ball distribution and now also added to the windows zip-file. As usual, let me know if you encounter bugs or have any questions or wishes. -- Greetings Bertho (disclaimers are disclaimed) ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users