ChrisYounger / config_explorer

Config viewer and file editor for Splunk. Based on VSCode.
GNU Affero General Public License v3.0
28 stars 7 forks source link

add a monaco "language" for SPL so that queries can be cut-n-pasted with syntax highlighting #8

Closed ChrisYounger closed 5 years ago

ChrisYounger commented 5 years ago

Splunk ships this file: ./etc/system/default/searchbnf.conf which is a BNF grammer of the language. It could potentially be converted using this: https://github.com/BNFC/bnfc

this VIM langage definition exists: https://www.vim.org/scripts/script.php?script_id=5030

Here is the monaco SQL langage definition: https://github.com/Microsoft/monaco-languages/blob/master/src/sql/sql.ts

ChrisYounger commented 5 years ago

Ill build this into another app