Sorry, it was me that was not following.
After looking into your source main.ss I found out how to use macro $.
Looked into some of your other source files too.
Impressive.
Thanks, Jos

 
  _____  

From: [email protected] [mailto:[email protected]] On
Behalf Of Jens Axel Søgaard
Sent: viernes, 24 de abril de 2015 18:32
To: Jos Koot
Cc: [email protected]
Subject: Re: [racket-users] RE: infix notation embedded in Racket




2015-04-24 18:25 GMT+02:00 Jos Koot <[email protected]>:



Hi Jens Axel,
 
Thanks for replying and explaining.
 
Can you discriminate between a+b and |a+b| or a|+|b?


When I get around to adding |...| identifiers to the lexer, it will work
like this:

  "a+b"   will be parsed as (+ a b)
  "|a+b|"  as a+b    (a single identifier)
  "a|+|b"  will be passed as (+ a b)


I don't see how without using a language with it's own key-binding for |.



I am not following. The $ macro can be required into any language?. 

/Jens Axel


-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to