Add pkl:syntax module #1569
Conversation
|
Have you considered offering the equivalent Java library? Wrapping that library instead of implementing |
|
The major thing missing from this PR is the ability to whole-cloth construct and then format |
|
The Java library is already |
As far as I know, external members of non-external classes can still be implemented in Java. If this stdlib module is implemented in Pkl, it should not be cached (as it is now), as this is very likely to cause multithreading issues. |
This new stdlib module allows for full manipulation of Pkl source code in Pkl: parsing text to a Pkl CST and formatting a Pkl CST back to text.