Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Comments on How to create a quotation containing the given token in a syntax word in Factor programming language
Parent
How to create a quotation containing the given token in a syntax word in Factor programming language
+2
−0
I am trying to define a syntax word as follows:
USING: kernel syntax parser fry prettyprint ;
IN: syn-try
SYNTAX: syn scan-word '[ _ ] . ;
Given a word, I want to create a quotation containing the word.
In the factor listener, if i do syn word
I get [ \ word ]
. How do I remove the \
?
Language version is Factor 0.98 for Linux.
Post
+0
−0
Things must have changed, on .99 I get
syn this
[ "this" ]
0 comment threads