Compost4

Overview
Compost4 is the new Compost language tool that will be used with Galaxy V11.
Features
Language Changes
New Format
Compost4 generates a new post format, one with a .POST file extension. This new format is usable only by GibbsCAM Version 11 and later. Compost4 will automatically upgrade old PST files that it opens and save them as a new .post file (the old file will remain unchanged).
This new post format is no longer based on the older Macintosh resource format and removes a number of the form limitations from previous versions.
MDD
In order to upgrade a PST to a POST Compost4 must know what what MDD will be used with the post. For generic posts an MDD with the maximum number of support axes should be picked (i.e. the 5 axis mill MDD for any post that supports advanced mill or rotary mill).
Integrated Development Environment
- Text Editor, Form Editor, Compiler, Debugger, Differencer, and Automation tools all in one program
- Load posts from either file, prog (TXT) or form (PST/POST)
- All components are aware of Compost's unique requirements
- Automation via Python scripts
- Components share a tabbed, dockable, context-aware multi-document environment
- An MRU list is provided
Regular Expressions
- Compost4 supports Microsoft .NET-style RegEx.
Text Editor component
- Syntax highlighting for Compost, GCode, and Python with configurable styles
- Regular expression search and replace
- Text zooming (Ctrl+Mousewheel)
- Autocomplete for Compost keywords
- Unlimited Undo and Redo
- Help On Keyword
- Jump To Subroutine and automatic subroutine creation
- Block indent/outdent
- Automatic newline indentation
- Filterable, sortable Subroutine List window
- Compost reformatter/pretty printer
- Full navigation support (forward/back including mouse buttons)
- Notification when an open file changes outside of Compost
- Block comment/uncomment support for Compost
- Code folding (including commentblocks)
- Configurable, stylable line number display
Compiler component
- Compiler is now built on a context-aware Abstract Syntax Tree
- Vastly improved compile-time error checking
- Errors are displayed in a window within the IDE - double-click to jump to the affected line
- Support for new language features - ELSEIF, WHILE, boolean shortcutting, subroutine arguments and return values, named formats, and numeric & boolean constants
- Aupport for infix math
Form Editor component
- ...
Debugger component
- Supports live, inline debugging of posts built with or without instrumentation
- Break/Resume/Abort
- Step Into/Step Over
- Positional, conditional, and data breakpoints
- Watch tree values, flags, variables, and other useful data
- Exception trapping
- TCP/IP Remote debugging (even if you don't have the post locally)
Differencer
- Pick two text files, open or not
- Line and character differences are shown with configurable styles
- Side-by-side display with difference navigation (first, previous, next, last)
- Interact-able navigation sidebar
- Future support for specialized difference filtering options for GCode (ignore line numbers, ignore tiny numeric changes, ignore comments...)
Automation
- Full IDE automation via IronPython (Python in .NET) scripting
- Editor component fully supports editing scripts (including syntax highlighting, code folding, syntax checking)
- Editor component is based on Scintilla; most Notepad++ scripts are easily portable
- Automatic keyword list updates, even while Compost is running
- Future integration with Subversion
- Future automated testing tools using the Compost4 Debug environment
Setup
Compost4 is installed with a standard windows installer just like GibbsCAM. It is recommended that you install GibbsCAM before installing Compost4 to ensure that any required libraries are updated. Compost4 assumes that there is an install of GibbsCAM on any system it is installed on.
Download
The current version of Compost4 can always be downloaded from the GibbsONLINE site. https://online.gibbscam.com/index.php?path=software%2Fcompost
Licesning
Compost4 is a licensed product, it requires a PRODUCT CODE before it can be used.
Compost4 is licensed separately from GibbsCAM and requires a SEPARATE PRODUCT CODE in order to activate.
A GibbsCAM Product code WILL NOT WORK WITH COMPOST4.
This includes any GibbsCAM 'DEALER KEY' licenses that have all GibbsCAM options, they will not activate Compost4.
Compost4 is a separate product from GibbsCAM.
If you do not have a Compost4 product code, please contact GibbsCAM sales to place an order for one.