11 lines
295 B
Plaintext
11 lines
295 B
Plaintext
#load ".paket/load/net9.0/main.group.fsx"
|
|
#load "LDText.fs"
|
|
#load "Parser.fs"
|
|
#load "Lexer.fs"
|
|
|
|
let parse (s:string) =
|
|
s |> System.Text.Encoding.ASCII.GetBytes |> FSharp.Text.Lexing.LexBuffer<byte>.FromBytes |> Parser.instr(Lexer.read)
|
|
|
|
parse "abc()"
|
|
parse "abc(def)"
|
|
// parse "abc(def,ghi)" |