fix cc.bqn outside dzaima/BQN
This commit is contained in:
parent
43d2946447
commit
19449416c8
5
cc.bqn
5
cc.bqn
@ -7,8 +7,9 @@ return ← 1≡⊑args
|
||||
args↓˜↩ return
|
||||
path←(⊑args)∾"/src/"
|
||||
args↓˜↩1
|
||||
L ← {"m_caB(" ∾(•Repr≠𝕩)∾",(B[]){" ∾(1↓∾","⊸∾¨𝕩)∾"})"}
|
||||
LI ← {"m_cai32("∾(•Repr≠𝕩)∾",(i32[]){"∾(1↓∾","⊸∾¨𝕩)∾"})"}
|
||||
L0 ← (0<≠)◶⟨"",1↓·∾","⊸∾¨⟩
|
||||
L ← {"m_caB(" ∾(•Repr≠𝕩)∾",(B[]){" ∾(L0𝕩)∾"})"}
|
||||
LI ← {"m_cai32("∾(•Repr≠𝕩)∾",(i32[]){"∾(L0𝕩)∾"})"}
|
||||
# Escape the special characters that appear in BQN sources.
|
||||
Esc←{
|
||||
in ← (@+0‿9‿10‿13)∾"'""" # Null, Tab, LF, CR, and quotes
|
||||
|
||||
Loading…
Reference in New Issue
Block a user