Skip to content

tgermain/coreLanguage-syntax-sublimtext

Repository files navigation

coreLanguage-syntax-sublimtext

core language syntax and snippet for sublime text (2 and 3).

This package use the plugin AAAPackageDev for developping grammar easily.

TODO

  • understand how the symbolList definition work
  • Snippets, MORE snippets

Done but not perfect

  • embedding C code highLighting

Grammar supported (yet):

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"    

Installation :

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

About

cOOre language syntax and snippet for sublime text

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published