Because of the way Logos currently works, text such as 1/1.45 fails to lex as NUMBER, SLASH, NUMBER, which would enable it to be parsed as an expression. Instead it tries for NUMBER, CURRENCY, and fails with a Lexer error.
This is an open issue with Logos maciejhirsz/logos#315
Because of the way Logos currently works, text such as
1/1.45
fails to lex asNUMBER
,SLASH
,NUMBER
, which would enable it to be parsed as an expression. Instead it tries forNUMBER
,CURRENCY
, and fails with a Lexer error.This is an open issue with Logos maciejhirsz/logos#315