🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.functional
Article #633

Re: concrete vs abstract syntax or syntax trees

#633
From: Thomas M. Breuel
Date: Fri, 02 Oct 1992 23:36
37 lines
2209 bytes
In article <1992Sep30.175841.19500@cs.cornell.edu> tyan@cs.cornell.edu (Thomas Yan) writes:

   In article <TMB.92Sep29100759@arolla.idiap.ch>, tmb@arolla.idiap.ch (Thomas M. Breuel) writes:
   |> In article <DBM.92Sep28220940@ai.allegra.att.com> dbm@allegra.att.com (Dave MacQueen) writes:
   |> 
   |>    Actually, I would prefer to move further away from Lisp style syntax.
   |>    One of the unfortunate aspects of SML syntax is the overloading and
   |>    consequent over-use of parentheses.  Parentheses play three main
   |>    roles:
   |> 
   |>     (1) grouping (this is the most fundamental role)
   |> 
   |>     (2) bracketing tuples as in (1, true, "abc")
   |> 
   |>     (3) bracketing sequence expressions, as in (print "a"; print "b")
   |>
   |> And I don't see much of a conflict between (1) and (2); in particular,
   |> I like the fact that function calls with tupled arguments look
   |> "normal" ("f(x,y,z)") right now.

   i guess i might be missing the point here.  by (1), i thought this 
   referred to expressions like f(g(h(k x))) having tons of parens, vs.
   f g h k x, which has none.  i don't see how this relates to your
   comments.

McQueen was suggesting using different syntax for constructing tuples.
I very much object to that, since the current syntax makes tupled
function calls (the most common case of function call, unless you
happen to curry everything) look "normal":

	f(x,y,z)

looks much nicer to me than something like

	f[< x, y, z >]

					Thomas.
Technical Details
Message-ID: <TMB.92Oct2193606@arolla.idiap.ch>
Path: arc1-ca.pugleaf.net!sparky!uunet!snorkelwacker.mit.edu!ai-lab!life.ai.mit.edu!tmb
References: <1992Sep26.212935.26809@eng.umd.edu> <1992Sep28.120225.9524@odin.diku.dk> <TMB.92Sep29100759@arolla.idiap.ch> <1992Sep30.175841.19500@cs.cornell.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!snorkelwacker.mit.edu!ai-lab!life.ai.mit.edu!tmb
From: tmb@arolla.idiap.ch (Thomas M. Breuel)
Newsgroups: comp.lang.functional
Subject: Re: concrete vs abstract syntax or syntax trees
Message-ID: <TMB.92Oct2193606@arolla.idiap.ch>
Date: 2 Oct 92 23:36:06 GMT
References: <1992Sep26.212935.26809@eng.umd.edu> <1992Sep28.120225.9524@odin.diku.dk>
 <TMB.92Sep29100759@arolla.idiap.ch>
 <1992Sep30.175841.19500@cs.cornell.edu>
Sender: news@ai.mit.edu
Reply-To: tmb@idiap.ch
Organization: IDIAP (Institut Dalle Molle d'Intelligence Artificielle
 Perceptive)
Lines: 37
In-reply-to: tyan@cs.cornell.edu's message of 30 Sep 92 17:58:41 GMT