Advertisement
Guest User

Untitled

a guest
Sep 25th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. configuration = {
  2. name: StateMachine;
  3. file extensions: sm, tp;
  4. default:
  5. control -> keyword.control;
  6. operation -> meta;
  7. comment:
  8. line: "/";
  9. block:
  10. start: "/*";
  11. end: "*/";
  12. string:
  13. single: true;
  14. double: true;
  15. number: true;
  16. }
  17.  
  18. rules = {
  19. control:
  20. State -> support.type;
  21. operation:
  22. Transition -> entity;
  23. }
  24.  
  25. keywords = {
  26. "commands" -> entity.name.class;
  27. "end" -> keyword.control;
  28. }
  29.  
  30. regular expressions = {
  31. "\\w+", "\\e+" -> support.function;
  32. "\\b+" -> support;
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement