Add regex to reef #1

Merged
defunkt merged 11 commits from regex into main 2025-10-16 21:15:42 +00:00
Showing only changes of commit 77f86ce829 - Show all commits

View File

@ -1,13 +1,13 @@
import { Scope } from "./scope" import { Scope } from "./scope"
export type Value = export type Value =
| { type: 'null'; value: null } | { type: 'null', value: null }
| { type: 'boolean'; value: boolean } | { type: 'boolean', value: boolean }
| { type: 'number'; value: number } | { type: 'number', value: number }
| { type: 'string'; value: string } | { type: 'string', value: string }
| { type: 'array'; value: Value[] } | { type: 'array', value: Value[] }
| { type: 'dict'; value: Dict } | { type: 'dict', value: Dict }
| { type: 'regex'; value: RegExp } | { type: 'regex', value: RegExp }
| { | {
type: 'function', type: 'function',
params: string[], params: string[],