core language syntax and snippet for sublime text (2 and 3).
This package use the plugin AAAPackageDev for developping grammar easily.
- understand how the symbolList definition work
- Snippets, MORE snippets
- embedding C code highLighting
core:
| top*
top:
| "Task" ID ( C-params ) { stmt* }
| "Reset" { stmt* }
stmt:
| #> C-code <#
| "async" after? before? ID ( C-params ) ;
| "sync" ID ( C-params ) ;
after:
| "after" time
before:
| "before" time
time:
| INTVAL tunit?
tuint:
| "us" | "ms" | "s"
Assuming that you have already installed sublime text
In sublim text menu :
Preferences > browse Packages ...
(on linux it lead you to ~/.config/sublime-text-3/Packages/
)
Then
cd User
git clone [email protected]:tgermain/coreLanguage-syntax-sublimtext.git