basedpl 0.1.33 → 0.1.35

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.
Binary file
@@ -85,7 +85,7 @@
85
85
  }
86
86
  },
87
87
  {
88
- "match": "[\\+\\-×÷⌈⌊\\|\\*⍟○π√!∧∨⊼⊽\\~=≠<≤>≥⍳:⍴≢≡,⍪⊂⊃⊆∊∪∩⍋⍒↑↓⌽⊖⍉⊤⊥⍎⍕⌷⌹\\#↕⍭⨸⌻⍸⍷⊢⊣¿]",
88
+ "match": "[\\+\\-×÷⌈⌊\\|\\*⍟○π√!∧∨⊼⊽\\~=≠<≤>≥⍳↦:⍴≢≡,⍪⊂⊃⊆∊∪∩⍋⍒↑↓⌽⊖⍉⊤⊥⍎⍕⌷⌹\\#↕⍭⨸⌻⍸⍷⊢⊣¿]",
89
89
  "name": "support.function.bpl"
90
90
  },
91
91
  {
@@ -101,7 +101,7 @@
101
101
  "name": "variable.parameter.bpl"
102
102
  },
103
103
  {
104
- "match": "[←→⎕⋄\\?₀₁₂₃₄₅₆₇₈₉₋]",
104
+ "match": "[←⎕⋄\\?₀₁₂₃₄₅₆₇₈₉₋]",
105
105
  "name": "keyword.control.bpl"
106
106
  }
107
107
  ]
package/layout.json CHANGED
@@ -35,7 +35,7 @@
35
35
  "h": "←",
36
36
  "j": "↓",
37
37
  "k": {"state": "take"},
38
- "l": "→",
38
+ "l": "↦",
39
39
  ";": "⊣",
40
40
  "'": "⊢",
41
41
  "z": "⊂",
package/lb.js CHANGED
@@ -110,7 +110,7 @@
110
110
  }
111
111
  // Related glyphs stay together; arrows meet at the boundary between menus and plain buttons.
112
112
  const order = [...new Set([
113
- ...'^_¯¨○⎕≡⍭↑↓←→↢↣⇄∨∧⍺⍵∆∇⋄∊⍳⊂⊃∩∪⊥⊤⊣⊢×÷⌊⌈≤≥≠√π', ...groups.keys(), ...names.keys()
113
+ ...'^_¯¨○⎕≡⍭↑↓←↦↢↣⇄∨∧⍺⍵∆∇⋄∊⍳⊂⊃∩∪⊥⊤⊣⊢×÷⌊⌈≤≥≠√π', ...groups.keys(), ...names.keys()
114
114
  ])];
115
115
  for (const glyph of [...order.filter(g => groups.has(g)), ...order.filter(g => !groups.has(g))]) {
116
116
  if (!groups.has(glyph) && (variants.has(glyph) || /^[\x20-\x7e]+$/.test(glyph))) continue;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "basedpl",
3
- "version": "0.1.33",
3
+ "version": "0.1.35",
4
4
  "description": "BasedPL, the Based-array Programming Language, is an APL-derived array language, borrowing ideas from J and BQN, with an emphasis on simple, consistent notation.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {