gendl icon indicating copy to clipboard operation
gendl copied to clipboard

cast compiler warnings please

Open reiniervandijk opened this issue 12 years ago • 4 comments

Please, cast warnings or errors if someone writes syntactically incorrect object definitions.

(define-object A ()
  :computed-slots
  ((a "foo" "bar")))

At this moment, Gendl will ignore the :a slot definition and the user (me in this case) gets an error when he tries to reference the slot, which is confusing.

reiniervandijk avatar Oct 18 '13 15:10 reiniervandijk

~~Open for submissions: $100~~

This item should cover as many common cases of malformed define-object content as possible.

genworks avatar Jan 29 '15 23:01 genworks

This issue has a double-dollar tag, but only a $100 bounty is posted here. That would correspond to a single-dollar tag, like for the other bounties. Considering the contribution-effort-reward balance, is this a single or double-dollar bounty? I'm considering making a fix, but that depends on this balance.

reiniervandijk avatar Mar 26 '15 00:03 reiniervandijk

Removed bounty, this is too open-ended. Will be adding more bounties for other issues.

genworks avatar Mar 27 '15 03:03 genworks

Nooooo!!! :( While awaiting you reply, I went ahead by implementing a kick-ass extension to Gendl for syntax-checking, for which I dedicated quite some time now. How unfortunate this is. What made you remove the bounty? I personally think this syntax-checker is extremely important ingredient to any language and the description definitely wasn't too open-ended, on the contrary. Will send you a private e-mail with the implementation.

reiniervandijk avatar Mar 27 '15 13:03 reiniervandijk