Re: Head scratching in language X superior to language Y





thomas.mertes@xxxxxx wrote:

The fellow student who did the Ada compiler told me about problems
in parsing an Ada program. He told me that he needed an extra
function to determine what meaning a parenthesis has. When you
compare this to Pascal which can be parsed with LL(1) such
complexity can be seen as unneccessary. A prototype implementation
would have shown such hard to parse parts and the specification
could have been changed before releasing it.

I know what I am talking about: Seed7
did exist on paper for a long time. . . . Using the feedback
from an implementation helped to succeed finally in the
implementation of Seed7. This incremental process leads IMHO to
better results (for big and complex problems).

One of the properties of Wirth languages is ease of implementation
it wasn't an accident. Most of his ideas and syntax were tested as he
developed them. Having to work around parsing issues makes
implementations prone to incompatibilities.


Regards,

--
Walter Banks
Byte Craft Limited
Tel. (519) 888-6911
http://www.bytecraft.com
walter@xxxxxxxxxxxxx





.



Relevant Pages

  • Re: simple lisp interpreter
    ... readtable handling would materially affect the parser's LL complexity. ... Macro character parsing itself is LLand it would be subsumed by ... Can you construct an LLgrammar that can produce any ... grammar complexity of a Lisp program. ...
    (comp.lang.lisp)
  • Re: Need Help comparing dates
    ... to compare a date I found on a website to todays date. ... have is the website only shows 3 letter month name and the date. ... As for how to get from a string representation to a date object, ... you're now talking about parsing strings to extract date/time ...
    (comp.lang.python)
  • Re: [Fastboot] Kexec with latest kernel fail
    ... That is where the compare is happening so this may be a parsing ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • Re: Resources for interpreter/VM design, stack-based languages, etc?
    ... but I believe a stack-based language (if following a Forth ... example) should eliminate most of the complexity with parsing and ... Parsing, yes. ... Code generation, no. ...
    (comp.lang.forth)
  • Re: dd/mm/yyyy Date Compare Problem
    ... You can't compare dates this way. ... For parsing dates, converting between formats, and comparing, see my Date ...
    (comp.lang.javascript)