ConceptPortal-public/rsconcept/frontend/src/components/RSInput/rslang/index.ts
2023-09-27 23:36:51 +03:00

13 lines
306 B
TypeScript

import {LRLanguage} from '@codemirror/language'
import { parser } from './parser';
import { Function, Global, Predicate } from './parser.terms';
export const GlobalTokens: number[] = [
Global, Function, Predicate
]
export const RSLanguage = LRLanguage.define({
parser: parser,
languageData: {}
});