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.
Post History
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 conta...
#3: Post edited
How to create a quotation containing the given token in a syntax word
- How to create a quotation containing the given token in a syntax word in Factor programming language
#2: Post edited
- I am trying to define a syntax word as follows:
- ```
- USING: kernel syntax parser fry prettyprint ;
- IN: syn-try
SYNTAX: syn scan-token '[ _ ] . ;- ```
- 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.
- 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.
#1: Initial revision
How to create a quotation containing the given token in a syntax word
I am trying to define a syntax word as follows: ``` USING: kernel syntax parser fry prettyprint ; IN: syn-try SYNTAX: syn scan-token '[ _ ] . ; ``` 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.