aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pp.bqn3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pp.bqn b/src/pp.bqn
index aec45a7c..8e0fe7cc 100644
--- a/src/pp.bqn
+++ b/src/pp.bqn
@@ -32,7 +32,8 @@ E_nodef ⇐ {
idChars ← "_¯.π∞"∾∾"0aA"+⟜↕¨10‿26‿26
q←≠`𝕩='"' ⋄ q∨↩≠`q<𝕩=''' # Quotes
f←(𝕩=@+10)≥○((1+↕∘≠)⊸(⌈`×))q<𝕩='#' # Comments
- t ← (¯1+`·¬(»f/q)∨·»⊸∧∊⟜idChars)⊸⊔ f/𝕩 # Tokenize
+ w←('•'⊸=(∨»⊸∧⊢)∊⟜idChars) f/𝕩 # Group words
+ t←(¯1+`·¬(»f/q)∨w)⊸⊔ f/𝕩 # Tokenize
∾ (in⊸⊐ ⊑⟜out⍟(<⟜(≠in))¨ ⊢) t # Replace
}
# Process expression, possibly redefining a primitive