Skip to content

Latest commit

 

History

History
51 lines (37 loc) · 2.3 KB

File metadata and controls

51 lines (37 loc) · 2.3 KB

ROS interface language grammar

ROS Interface.tmLanguage is a TextMate language grammar for ROS Interfaces (messages, services, and actions). It defines regex-based parsing rules so that code renderers can highlight ROS message definitions using a semantic color scheme.

# Request
std_msgs/Header header
string[] messages ["hello\, world!"]
string<=255[] names
float64[9] matrix [1,0,0,0,1,0,0,0,1]
---
# Response
int32 STATUS_OK = 0
int32 STATUS_ERROR = 1
bool success False
int32 status

This grammar is used for syntax highlighting by:

The language grammar is available in three formats:

Development

  • To test the grammar in VS Code, press F5 to load the current version of the .tmLanguage in a new window. After each change, reload the window to load the updated .tmLanguage.

Maintenance status

This grammar and others are maintained by @jtbandes as a passion project. If you'd like to support past and future development, please consider making a donation. 💖

License

This project is licensed under the terms of the MIT license.