Re: Empirical data: assembly source vs. HLL source.

Taylor Hutt <t.hutt@worldnet.att.net>
12 Jul 1999 01:06:00 -0400

          From comp.compilers

Related articles
Empirical data: assembly source vs. HLL source. hunk@csd.uwm.edu (Mark William Hopkins) (1999-07-06)
Re: Empirical data: assembly source vs. HLL source. jsture@nortelnetworks.com (John Sture) (1999-07-10)
Re: Empirical data: assembly source vs. HLL source. tej@melbpc.org.au (Tim Josling) (1999-07-10)
Re: Empirical data: assembly source vs. HLL source. chase@world.std.com (David Chase) (1999-07-11)
Re: Empirical data: assembly source vs. HLL source. djb@koobera.math.uic.edu (1999-07-12)
Re: Empirical data: assembly source vs. HLL source. johnmce@world.std.com (1999-07-12)
Re: Empirical data: assembly source vs. HLL source. t.hutt@worldnet.att.net (Taylor Hutt) (1999-07-12)
Re: Empirical data: assembly source vs. HLL source. pmai@acm.org (1999-07-14)
Re: Empirical data: assembly source vs. HLL source. darcy@moa.CS.Berkeley.EDU (1999-07-14)
Re: Empirical data: assembly source vs. HLL source. adrian@dcs.rhbnc.ac.uk (1999-07-14)
Re: Empirical data: assembly source vs. HLL source. anton@mips.complang.tuwien.ac.at (1999-07-21)
| List of all articles for this month |
From: Taylor Hutt <t.hutt@worldnet.att.net>
Newsgroups: comp.compilers
Date: 12 Jul 1999 01:06:00 -0400
Organization: Logic Magicians
References: 99-07-023 99-07-038 99-07-042
Keywords: syntax

David Chase wrote:
> Think how much simpler life would be if we could ditch those
> fragdabbling prefix operators and use postfix notation for casts,
> for example:
>
> x[i].clone().(Vector).get(3)
>
> instead of
>
> ((Vector)(x[i].clone())).get(3)
>
> [There's no reason that assemblers have to have awful syntax. About
> 30 years ago I used Niklaus Wirth's PL360, which was basically a S/360


Not surprisingly then, Wirth's final langauge: Oberon does have
postfix casting (type guards).


b : Base; (* pointer to a record; assume Ext is an extension type *)


b(Ext).field := some value.


Interprets the pointer 'b' as an 'Ext' and accesses 'field' in the Ext
record structure. If 'b' is not an 'Ext' at runtime, the program is
halted with an appropriate error.


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.