Compost4: Difference between revisions
No edit summary |
No edit summary |
||
| Line 11: | Line 11: | ||
===Text Editor component=== | ===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 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 | |||
* Includes decompiler for legacy posts | |||
* Future support for infix math | |||
===Form Editor component=== | ===Form Editor component=== | ||
* ... | |||
===Debugger 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=== | ===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) | |||
* Interactable navigation sidebar | |||
* Future support for specialized difference filtering options for GCode (ignore line numbers, ignore tiny numeric changes, ignore comments...) | |||
===Automation=== | ===Automation=== | ||
Revision as of 22:39, 27 January 2014
Overview
Compost4 is the new Compost language tool that will be used with Galaxy V11.
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
- All components support automation via Python scripts
- Components share a tabbed, dockable, context-aware multi-document environment
- An MRU list is provided
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
- Includes decompiler for legacy posts
- Future support 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)
- Interactable navigation sidebar
- Future support for specialized difference filtering options for GCode (ignore line numbers, ignore tiny numeric changes, ignore comments...)
Automation
Features
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).
Axis Sets
They are important now.