volaro 0.1.0-alpha.10 → 0.1.0-alpha.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/compiler/SOURCE_INFO.json +2 -2
- package/compiler/SOURCE_REV +1 -1
- package/compiler/validator/vlcheck/ast_nodes.py +1 -0
- package/compiler/validator/vlcheck/checks.py +580 -56
- package/compiler/validator/vlcheck/parser.py +1 -0
- package/compiler/validator/vlcheck/resolve.py +117 -13
- package/compiler/vlbuild/vlbuild/__main__.py +3 -0
- package/compiler/vlbuild/vlbuild/assets/vlrt.js +45 -0
- package/compiler/vlbuild/vlbuild/assets/vlrt.min.js +1 -1
- package/compiler/vlbuild/vlbuild/emit.py +331 -77
- package/compiler/vlbuild/vlbuild/server_emit.py +35 -59
- package/compiler/vlbuild/vlbuild/static_assets.py +1 -1
- package/language/crib.md +5 -0
- package/language/spec.md +3 -3
- package/language/supported.md +83 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Volaro
|
|
2
2
|
|
|
3
|
-
**Limited alpha** (this is `0.1.0-alpha.
|
|
3
|
+
**Limited alpha** (this is `0.1.0-alpha.12`), published under both the
|
|
4
4
|
`latest` and `alpha` dist-tags: `npm install volaro`.
|
|
5
5
|
|
|
6
6
|
Volaro is an experimental application language intended for AI authoring and
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"revision": "
|
|
2
|
+
"revision": "92972bae88b0cd71b621a8c21dbeae052dc8a3c9",
|
|
3
3
|
"source": "git",
|
|
4
4
|
"dirty": false,
|
|
5
|
-
"content_sha256": "
|
|
5
|
+
"content_sha256": "09ae1f5782b061471ba112a8820cd9a08f4519ecff84eb418a5062f8ed23c467"
|
|
6
6
|
}
|
package/compiler/SOURCE_REV
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
92972bae88b0cd71b621a8c21dbeae052dc8a3c9
|
|
@@ -371,6 +371,7 @@ class Literal(Node):
|
|
|
371
371
|
raw: str = ""
|
|
372
372
|
interp_names: list = field(default_factory=list)
|
|
373
373
|
interp_calls: list = field(default_factory=list) # bare names called: "{len(xs)}"
|
|
374
|
+
interp_spans: list = field(default_factory=list) # [(start, end)] of each {expr}
|
|
374
375
|
|
|
375
376
|
|
|
376
377
|
@dataclass
|