Open Agent-E11 opened 7 months ago
e.g. Pi, Tau, Sqrt2, e, golden ratio (phi).
Tokenized as [ConstStart, Id("name")] and parsed to [Const(ConstEnum)] (or something like that)
[ConstStart, Id("name")]
[Const(ConstEnum)]
Print them as their unicode characters like π, τ, φ? Possibly too complicated, but it might be a good idea for a method for the ConstEnum
π, τ, φ
ConstEnum
e.g. Pi, Tau, Sqrt2, e, golden ratio (phi).
Tokenized as
[ConstStart, Id("name")]
and parsed to[Const(ConstEnum)]
(or something like that)