Skip to content

Commit 4f47bb1

Browse files
committed
♻️ j fixes
1 parent eb45fc7 commit 4f47bb1

2 files changed

Lines changed: 8 additions & 7 deletions

File tree

src/keymap.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ export const jGlyphs = {
381381
// Comparison
382382
'<', '=', '>',
383383
// Structural
384-
'$', '~', '|', ',', ';', '#',
384+
'$', '|', ',', ';', '#',
385385
// Selection/indexing
386386
'{', '}', '[', ']',
387387
// Other
@@ -394,7 +394,7 @@ export const jGlyphs = {
394394
// Arithmetic extensions
395395
'+.', '+:', '*.', '*:', '-.', '-:', '%.', '%:',
396396
// Power/Log
397-
'^.', '^:',
397+
'^.',
398398
// Structural
399399
'$.', '$:', '|.', '|:',
400400
// Tally/Copy/Base
@@ -416,7 +416,9 @@ export const jGlyphs = {
416416
'!.',
417417
// Named primitives
418418
'i.', 'i:', 'j.', 'o.', 'p.', 'p:', 'q:', 'r.',
419-
'A.', 'C.', 'e.', 'E.', 'I.', 'L.', 's:', 'u:', 'x:'
419+
'A.', 'C.', 'e.', 'E.', 'I.', 'L.', 's:', 'u:', 'x:',
420+
// Grade Up/Down
421+
'/:', '\\:'
420422
],
421423
// Adverbs (1-modifiers) - green
422424
monadic: [
@@ -426,7 +428,6 @@ export const jGlyphs = {
426428
'~' // Reflex/Passive
427429
],
428430
adverbDigraphs: [
429-
'/:', '\\:', // Grade Up/Down
430431
'b.', 'f.', 'M.', // Boolean, Fix, Memo
431432
't.', 't:' // Taylor
432433
],

src/syntax.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,12 @@ export const syntaxRules = {
8787
stringDelimiter: "'",
8888
// Functions (cyan) - J verbs (single character)
8989
functions: [
90-
'+', '-', '*', '%', '^', '$', '~', '|', ',', ';', '#',
90+
'+', '-', '*', '%', '^', '$', '|', ',', ';', '#',
9191
'{', '}', '[', ']', '"', '?', '!'
9292
],
9393
// 1-modifiers / Adverbs (green) - single character
9494
monadic: [
95-
'/', '\\'
95+
'/', '\\', '~'
9696
],
9797
// 2-modifiers / Conjunctions (yellow) - single character
9898
dyadic: [
@@ -105,7 +105,7 @@ export const syntaxRules = {
105105
// Verbs with . suffix
106106
functions: [
107107
// Structural/selection verbs
108-
'{.', '}.', '{:', '}:', ',.', ',:', '{::',
108+
'{.', '}.', '{:', '}:', ',.', ',:', '{::', '/:', '\\:',
109109
// Math verbs
110110
'<.', '>.', '+.', '*.', '-.', '%.', '^.', '|.', '|:',
111111
'$.', '~.', '#.', '#:',

0 commit comments

Comments
 (0)