refactor(rasc): rename AssemblyScript to AnimaScript (#14510) 4057f908b2
* refactor(rasc): move assemblyscript/ to animascript/

* refactor: rename AssemblyScript identifiers and language ids to AnimaScript

* docs: rebrand the language as AnimaScript

* fix(rive_vscode): share the animascript language id and grammar with vscode-rasc

* chore(rasc_site): rebuild the repl bundle against the renamed std

* chore(rasc): untrack out.wasm, the test run writes it

* chore(dev): point rasc repro paths at packages/rasc/animascript

Co-authored-by: Luigi Rosso <luigi-rosso@users.noreply.github.com>
diff --git a/.rive_head b/.rive_head
index 1b5a40f..48e9d66 100644
--- a/.rive_head
+++ b/.rive_head
@@ -1 +1 @@
-cf39effc4d5fb53f3a1c0230d3f9aa3b5b6a26be
+4057f908b214181e224a7c9e9d9339641f6b7dc3
diff --git a/include/rive/assets/script_module_asset.hpp b/include/rive/assets/script_module_asset.hpp
index 47e3d2c..22cee31 100644
--- a/include/rive/assets/script_module_asset.hpp
+++ b/include/rive/assets/script_module_asset.hpp
@@ -15,7 +15,7 @@
     enum class Language : uint32_t
     {
         luau = 0,
-        assemblyScript = 1,
+        animaScript = 1,
     };
 
     bool decode(SimpleArray<uint8_t>& data, Factory* factory) override;
diff --git a/premake5_v2.lua b/premake5_v2.lua
index cefd72d..f60aeec2 100644
--- a/premake5_v2.lua
+++ b/premake5_v2.lua
@@ -376,7 +376,7 @@
 newoption({
     trigger = 'wasm_hw_bounds',
     description = 'WAMR hardware bounds checks for wasm modules compiled '
-        .. 'without sw bounds (AssemblyScript); Luau artifacts stay sw. '
+        .. 'without sw bounds (AnimaScript); Luau artifacts stay sw. '
         .. '64-bit desktop/mobile only: reserves 8GB address space per '
         .. 'module memory and installs a SIGSEGV/SIGBUS handler.',
 })
diff --git a/src/wasm/idl/generate.py b/src/wasm/idl/generate.py
index c553f3a..b9dc89e 100644
--- a/src/wasm/idl/generate.py
+++ b/src/wasm/idl/generate.py
@@ -22,8 +22,8 @@
 }
 WEB_HOST_PATH = PACKAGES / 'runtime/src/wasm/wasm_natives_web_gen.hpp'
 STUBS_PATH = PACKAGES / 'luau_wasm/tests/vm_host_stubs.mjs'
-AS_PATH = PACKAGES / 'rasc/assemblyscript/std/rive/bindings.as'
-AS_NATIVES_PATH = PACKAGES / 'rasc/assemblyscript/std/rive/natives.as'
+AS_PATH = PACKAGES / 'rasc/animascript/std/rive/bindings.as'
+AS_NATIVES_PATH = PACKAGES / 'rasc/animascript/std/rive/natives.as'
 WEB_PATH = PACKAGES / 'runtime/src/wasm/web/rive_module_imports.mjs'
 
 GENERATED_NOTE = 'Generated by src/wasm/idl/generate.py from bindings.py.' \
@@ -473,7 +473,7 @@
     lines = [
         '// %s' % GENERATED_NOTE,
         '//',
-        '// The wasm import contract for AssemblyScript modules, under the',
+        '// The wasm import contract for AnimaScript modules, under the',
         '// same symbols as the C header: one ambient namespace whose',
         '// members carry the import namespace and wire name (which may be',
         '// a reserved word) via @external. The unmanaged POD classes',