🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #10951

Re: how to advocate new software/hardware features (Re: Hardware Support for Numeric Algorithms)

#10951
From: Thomas M. Breuel
Date: Mon, 16 Nov 1992 14:01
44 lines
2768 bytes
In article <1e775rINNslq@network.ucsd.edu> mbk@lyapunov.ucsd.edu (Matt Kennel) writes:

     Prof. Rubin wants to use a syntax which cannot be parsed with the
   "standard" tools of compiler contruction kits.  Think of 
   the old standbys "lex 'n' yacc"---he essentially wants something in
   which the "tables" themselves could somehow be altered using langauge
   statements.  Maybe the world doesn't revolve around statically generated
   context-free unambiguous grammars.

   Too many computer scientists think that "syntax is trivial" or "syntax
   is uninteresting", which it may be to the inside of a compiler, but isn't
   to ordinary users.

Far from it. In fact, a lot of research in computer science is
directed at coming up with ways of letting people specify syntax and
syntactic transformations as conveniently as possible. Reality is that
this is a hard problem. That's why there are only compromises
available.

The available compromises are the following:

 * Programming languages themselves nowadays only let you specify very
   limited syntactic extensions, because such extensions are difficult
   to scope properly (mind you, the computer and the parser have no
   problem with this, it is the humans that can't deal with it).  This
   isn't the result of some kind of "language fascism", but of market
   forces: languages that have allowed more general syntactic
   extensions simply never caught on, presumably because such
   extensions were causing more hassle than they were worth.

 * Some programming languages use limited syntax but allow very
   general transformations (e.g., Lisp macros).

 * There are a number of general-purpose tools for writing systems
   that perform syntactic transformations (yacc, TXL, Prolog, ...).
   Such systems let you express just about any syntax you might want
   to, but because they are so powerful, they are more difficult to
   use.

Now, there is certainly room for improvement, so if you don't like
what you are getting right now, maybe you can come up with something
better.

					Thomas.
Technical Details
Message-ID: <TMB.92Nov16140138@arolla.idiap.ch>
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!snorkelwacker.mit.edu!ai-lab!life.ai.mit.edu!tmb
References: <Bxr8vG.IpI@mentor.cc.purdue.edu> <1e775rINNslq@network.ucsd.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!snorkelwacker.mit.edu!ai-lab!life.ai.mit.edu!tmb
From: tmb@arolla.idiap.ch (Thomas M. Breuel)
Newsgroups: comp.arch,comp.lang.misc
Subject: Re: how to advocate new software/hardware features (Re: Hardware Support for Numeric Algorithms)
Date: 16 Nov 92 14:01:38
Organization: IDIAP (Institut Dalle Molle d'Intelligence Artificielle
 Perceptive)
Lines: 44
Message-ID: <TMB.92Nov16140138@arolla.idiap.ch>
References: <Bxr8vG.IpI@mentor.cc.purdue.edu> <1e775rINNslq@network.ucsd.edu>
Reply-To: tmb@idiap.ch
NNTP-Posting-Host: arolla.idiap.ch
In-reply-to: mbk@lyapunov.ucsd.edu's message of 16 Nov 1992 04:13:47 GMT