Subject: [sv-ec] Unnecessary keywords in 3.1
From: Kevin Cameron (Kevin.Cameron@nsc.com)
Date: Mon Dec 16 2002 - 09:59:37 PST
Here's some of my list of unncessary keywords and alternatives:
extends Should use C++ ':' (AMS uses ':' for inheritance in disciplines and natures)
endclass Should be using {} instead of class/endclass as per C++ and struct.
super Could probably use something like "^^". I'd be happier with the C++
syntax (<super class>::).
any/all/none You could just use a number (or expression), 1 = any, 0 = none and all is the
default (so is redundant). You can then do "join 2;" to collect two processes
as a bonus.
var Can use C++ "&".
local Do we really need local and protected? (and what's wrong with C++'s
private?)
Local seems very odd to me, the behavior isn't like anything in C++ (is
it Java?) - there are implementation issues.
async It's in the keyword list, but doesn't appear to be anywhere else?
Regards,
Kev.
-- National Semiconductor, Tel: (408) 721 3251 2900 Semiconductor Drive, Mail Stop D3-500, Santa Clara, CA 95052-8090
This archive was generated by hypermail 2b28 : Mon Dec 16 2002 - 10:02:12 PST