[Mono-list] MonoBASIC now understands most literals
A Rafael D Teixeira
rafaelteixeirabr@hotmail.com
Wed, 12 Nov 2003 15:40:42 -0200
I've commited changes to mbas for it to understand correctly various kinds
of literals, but not all, see the Changelog:
2003/11/10 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* mb-tokenizer.cs : integer literal (Hex starts with &H not 0x), handle
Octal literals (&O)
* handle unicode specialized double-quotes in string literals
* corrected some mishandling of conversions in numeric literals
* implemented support for char literals ("z"c)
* Makefile : verbose target uses verbose argument
* testmbas/WriteOK.vb: many tests for literals implemented
* literal.cs: correcting lack of a ShortLiteral class
* mb-parser.jay: removed support for unsigned int literals, added support
for short int literals
Next I will tackle the Date Literals that have no C# counterpart.
A bit -at-a-time but always forward,
Rafael Teixeira
Brazilian Polymath
Mono Hacker since 16 Jul 2001
MonoBrasil Founding Member - Membro Fundador do MonoBrasil
English Blog: http://monoblog.blogspot.com/
Brazilian Portuguese Blog: http://monoblog.weblogger.terra.com.br/
_________________________________________________________________
MSN Messenger: instale grátis e converse com seus amigos.
http://messenger.msn.com.br