Skip to content

Commit ca69ffb

Browse files
committed
Added instruction "lex" (Largest Exponent)
1 parent 586a856 commit ca69ffb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rust_project/loda-rust-web/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 Mar 30. -->
3+
<!-- LODA-RUST WASM project was last updated: 2025 Jun 05. -->
44
<title>Edit</title>
55
<meta name="viewport" content="width=device-width, initial-scale=1">
66
<meta name="format-detection" content="telephone=no">

rust_project/loda-rust-web/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|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/,
18+
{regex: /\s*(?:mov|add|sub|trn|mul|div|dif|dir|mod|pow|gcd|bin|cmp|min|max|log|lpb|lpe|nrt|dgs|dgr|lex|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)