#160 new
Chris Corbyn

Improve the parser to detect syntax errors

Reported by Chris Corbyn | December 11th, 2008 @ 03:08 PM

I can throw a lot of invalid syntax into a .j file and it will run without even a warning. Surely syntax errors should be of the highest possible severity?

It's quite scary to think that a well meaning parser can discard things I write in my source code without even mentioning it.

It also makes me wonder if the parsing could be a lot more efficient.

Would you guys like some input in this area? I'm not an expert but I know a little bit about LALR(1) grammars and lexical analysis (another area of the source that looks like it could use some improving - long piped regexes are generally slower than checking several smaller regexes and switching states).

Clearly it's a hugely complex area but it's certainly something that needs to be as close to 100% spot-on as possible :)

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Cappuccino Web Framework, including AppKit, Foundation, and Objective-J.

Shared Ticket Bins

People watching this ticket

Pages