Skip to content

Improve Numeric Parsing Algorithm as similar shown in the followings #45

Open
@ferhaterata

Description

@ferhaterata
NUMBER
          '-'? INT'.'INT EXP? //1.35,1.35E-9,0.3,-4.5
	| '-'? INT EXP //1e10-3e4
	| '-'? INT //-3,45
	;

	fragment INT: '0'|[1-9][0-9]*;  //noleadingzeros
	fragment EXP: [Ee][+\-]? INT;

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions