resolve template string

This commit is contained in:
Asaki Yuki 2026-01-17 18:04:48 +07:00
parent 80df04d3f6
commit a144909fbf
6 changed files with 246 additions and 91 deletions

View file

@ -1,5 +1,4 @@
import { Parser, Panel } from ".."
import { Lexer, Parser } from ".."
const { gen, out } = new Parser("abs(#a)").out()
console.log(gen, out)
const { out } = new Parser("`A${`#a${#a + #b}`}A`").out()
console.log(out)