Compost4: Difference between revisions

From Compost Wiki
Jump to navigation Jump to search
Dannym (talk | contribs)
No edit summary
Dannym (talk | contribs)
No edit summary
Line 11: Line 11:


===Text Editor component===
===Text Editor component===
** Syntax highlighting for Compost, GCode, and Python with configurable styles
* Syntax highlighting for Compost, GCode, and Python with configurable styles
** Regular expression search and replace
* Regular expression search and replace
C. Text zooming (Ctrl+Mousewheel)
* Text zooming (Ctrl+Mousewheel)
D. Autocomplete for Compost keywords
* Autocomplete for Compost keywords
E. Unlimited Undo and Redo
* Unlimited Undo and Redo
F. Help On Keyword
* Help On Keyword
G. Jump To Subroutine and automatic subroutine creation
* Jump To Subroutine and automatic subroutine creation
H. Block indent/outdent
* Block indent/outdent
I. Automatic newline indentation
* Automatic newline indentation
J. Filterable, sortable Subroutine List window
* Filterable, sortable Subroutine List window
K. Compost reformatter/pretty printer
* Compost reformatter/pretty printer
L. Full navigation support (forward/back including mouse buttons)
* Full navigation support (forward/back including mouse buttons)
M. Notification when an open file changes outside of Compost
* Notification when an open file changes outside of Compost
N. Block comment/uncomment support for Compost
* Block comment/uncomment support for Compost
O. Code folding (including commentblocks)
* Code folding (including commentblocks)
P. Configurable, stylable line number display
* 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.