Skip to content

Commit 18bb964

Browse files
committed
Updated WASM file with support for the new "dir" instruction
1 parent 6948b94 commit 18bb964

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

_edit/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!doctype html><html lang="en"><head><meta charset="utf-8">
22
<meta name="robots" content="noindex">
3-
<!-- LODA-RUST WASM project was last updated: 2025 Jan 19. -->
3+
<!-- LODA-RUST WASM project was last updated: 2025 Mar 30. -->
44
<title>Edit</title>
55
<meta name="viewport" content="width=device-width, initial-scale=1">
66
<meta name="format-detection" content="telephone=no">

_edit/pkg/loda_rust_web.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ async function init(input) {
499499
imports.wbg.__wbindgen_rethrow = function(arg0) {
500500
throw takeObject(arg0);
501501
};
502-
imports.wbg.__wbindgen_closure_wrapper1358 = function(arg0, arg1, arg2) {
502+
imports.wbg.__wbindgen_closure_wrapper1361 = function(arg0, arg1, arg2) {
503503
var ret = makeMutClosure(arg0, arg1, 509, __wbg_adapter_20);
504504
return addHeapObject(ret);
505505
};

_edit/pkg/loda_rust_web_bg.wasm

2.87 KB
Binary file not shown.

_edit/web/codemirror_mode_loda.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
{regex: /[$][$]\d+/, token: "number"},
1616
{regex: /[$]\d+/, token: "number"},
1717
{regex: /-?\d+/, token: "number"},
18-
{regex: /\s*(?:mov|add|sub|trn|mul|div|dif|mod|pow|gcd|bin|cmp|min|max|log|lpb|lpe|nrt|dgs|dgr|equ|neq|leq|geq|ban|bor|bxo|seq|lps|f\d\d)\b/,
18+
{regex: /\s*(?:mov|add|sub|trn|mul|div|dif|dir|mod|pow|gcd|bin|cmp|min|max|log|lpb|lpe|nrt|dgs|dgr|equ|neq|leq|geq|ban|bor|bxo|seq|lps|f\d\d)\b/,
1919
token: "keyword", sol: true },
2020
{regex: /#offset\s+(0|-?[1-9]\d*)$/, token: "keyword", sol: true},
2121
{regex: /;.*/, token: "comment"},

0 commit comments

Comments
 (0)