Skip to content

jtbandes/ros-tmlanguage

Repository files navigation

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.

About

ROS interface definition language grammar for syntax highlighting

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages