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 4a5618e900 - Show all commits

View File

@ -9,14 +9,14 @@ export type Value =
| { type: 'dict'; value: Dict }
| { type: 'regex'; value: RegExp }
| {
type: 'function'
params: string[]
defaults: Record<string, number> // indices into constants
body: number
parentScope: Scope
variadic: boolean
named: boolean
value: '<function>'
type: 'function'
params: string[]
defaults: Record<string, number> // indices into constants
body: number
parentScope: Scope
variadic: boolean
named: boolean
value: '<function>'
}
export type Dict = Map<string, Value>