An open API service indexing awesome lists of open source software.

https://github.com/surrealdb/surrealql-grammar

SurrealQL grammar definition for TextMate, VSCode, and other IDEs
https://github.com/surrealdb/surrealql-grammar

surreal surrealdb surrealdb-grammar surrealql surrealql-grammar textmate textmate-grammar textmate-language

Last synced: 3 months ago
JSON representation

SurrealQL grammar definition for TextMate, VSCode, and other IDEs

Awesome Lists containing this project

README

          

# SurrealQL grammar

SurrealQL is the SQL-like language used by [SurrealDB](https://surrealdb.com). This repository holds it's grammar definition, implementing the textmate-grammar specification.

## Getting started

The grammar is mainly written for the [Visual Studio Code](https://code.visualstudio.com/) editor. It is easiest to change the grammar there and to debug it.

To get started:
- Clone this repository (https://github.com/surrealdb/surrealql-grammar)
- Open the cloned folder in VScode
- Open the debug panel from the left sidebar
- In the middle top of the opened pane, open the (green) start button
- A new window should pop up. Open a SurrealQL file to edit it and see the grammar in action.

## Credits

This grammar was much inspired by [Mathe42](https://github.com/mathe42)'s work. You can find his work [here on GitHub](https://github.com/surrealdb-community/surrealql_vscode).