| Bill Allombert on Thu, 30 Oct 2025 16:23:40 +0100 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| Re: [EXTERN] Re: Re: Re: Re: Re: Definition of tokens in GP language |
On Thu, Oct 30, 2025 at 03:20:20PM +0100, Hong-Phuc Bui wrote: > Hi, > > is it your intension, that the lexer in lang.l does not contain binary operators such as '*' or '+' in, > for example, '12 + 34.5'? Yes, any unmatched character is a token on its own, which is then accepted by the parser. There is no need to duplicate the logic in lang.l. Cheers, Bill.