Hi,
not really a question (just confirm it), i'm making an alias of a reader.
i have a SRFI 105 parser which is enhanced to more than infix, also postfix and still prefix ,so instead using #lang reader SRFI-105 which is a bit hierogliphic and as implementation no more match the reality of the original SRFI-105 i want to have something more understandable as #lang reader infix-prefix-postfix or #lang reader infix .
After a discussion with AI that failed on hour we got to the conclusion that the simplest way is just:
making a module in infix-prefix-postfix directory with just a main.rkt and an info.rkt, main.rkt being simply:
#lang racket
(require SRFI-105)
(provide read read-syntax)
then i could write code as:
#lang reader infix-prefix-postfix
(require Scheme+)
{3 * 5 + 2}
which give 17 as result or also write:
#reader infix-prefix-postfix ; reader is red as error in GUI but this works indeed
(require Scheme+)
{3 * 5 + 2}
seems the AI tried to use :
but we never succeed in making some working result with it.
any better idea?
regards,
damien