comp.lang.ada
 help / color / mirror / Atom feed
From: z007400b@bc.seflin.org (Ralph Silverman)
Subject: International Algorithmic language
Date: 1997/08/08
Date: 1997-08-08T00:00:00+00:00	[thread overview]
Message-ID: <5sfeus$a1i@nntp.seflin.org> (raw)


	internationalization of algorithmic language

	one good idea involved in
		the 'c' programming language
	is the replacement of 'eurocentric'
	expressions in the 'operational heart'
	of the language,  with more international
	expressions ...
	thus
		BEGIN
		END
	( then traditional in 'algol-like'
	  languages ... )
	becomes
		{
		}
	or
		.EQ.
	( then traditional in fortran ... )
	becomes
		==
	... 


	interestingly ... a 'c'-like language
	simplified to its roots and similar,
	in this,  to 'c' at origin could easily
	forgo all such 'eurocentricisms' in
	forgoing the use of alphabetic characters
	for such things ...

	main()

	for instance,  'main' function name
	could be replaced with symbol indicating
	'entry point'-like role ...
	thus
		main()
	becomes
		->()
	( may forgo present use of '->'
	  by requiring strict use of pointer
	  only as identifier of
		derived data type ... )
 
	loops

	only one loop form is needed ...
	if similar in effect to traditional
		while(1)
	symbol for such would be
		<>
	of course ...
	substitute for
		break
	would be needed ...
	and a generic break regime should
	be used ...
	thus loop-break would be ...
		~<>

	if ... else

	might be
		? ... :
	( present ?: is a kind of meta-version
	  and might be )
		^? :
	...

	thus
	/* code here ... */
	<>{
	 /* code here ... */
	?( >= i TOP05 ) ~<>;
	} /* <> */

	( present author prefers pre-fix notation
	  arrangement where feasible ... )

	types

	fundamental data type is minimum size
	word represented as
		><
	( this is signed ... )
	unsigned ...
		>><<
	non-derived,  non-pointer data-types
	are sized,  in terms of this
		2>><<
		2><
		4>><<
	...
	( arrays much as now ... )
	structures
	|>><<| {}
	... 

	internationalization of algorithmic language
	( part b. )

	static storage
	automatic storage of 2(minimum) word is
		2><	/* signed */
		2>><<	/* unsigned */
	static storage is
		2>-<
		2>>-<<	/* similarly */

	meta-type
	float can be thought of as a meta-integer
	so float type might be ...
		^><
	...

	switch or case
	may be eliminated by break from
	program block ( where series of
	? forms are within same block ... )
		(~{)
	( of course if and if...else
	  also do this now ... )

	(no)s
	no enum
	no set
	no union
	no passing derived data-types
	 ( but pointers good,  of course ! )

	internationalization of algorithmic language
	( part c. )


	addendum

	(no)s	/* added */
	no bitfield

	return
	return form is
		<-<
	as
		<-<(i);

	internationalization of algorithmic language
	( part d. )

	addendum

	continue form
	form of 'continue' is
		<-<>

	register form
	'register' form is
		2>+<	/* for instance */
		>+<

	'non-default' auto variable
	could be
		>*<	/* could be 'non-default' auto form */
		2>>*<<
		2>><<	/* default form of auto ... */

		2>>-<<	/* e.g.  of static ... */

	internationalization of algorithmic language

	( part e. )

	addendum

	function declaration
	function declaration will not
	be based on traditional form ...
		int fname();	/* NO */

	instead 'meta' form of return
	value will indicate role ..
		2>^< fname;	/* yes */


	(no)s
	no 'no type' type ...


	unspecified function return type
	...
	defaults to implementation
	specific value .

--

Ralph Silverman
z007400b@bcfreenet.seflin.lib.fl.us





             reply	other threads:[~1997-08-08  0:00 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-08-08  0:00 Ralph Silverman [this message]
1997-08-10  0:00 ` International Algorithmic language Robert Munck
1997-08-12  0:00 ` Ralph Silverman
1997-08-12  0:00   ` Robert A Duff
1997-08-30  0:00     ` script_name variable returning html page name calling script ?? Mickael
1997-09-03  0:00       ` Eric James DeArment
1997-08-13  0:00   ` International Algorithmic language Nick Wagg
1997-08-19  0:00     ` Ralph Silverman
1997-08-19  0:00       ` Robert Dewar
1997-08-21  0:00         ` Rune Moberg
1997-08-22  0:00           ` R.E.Donais
1997-08-15  0:00   ` Ralph Silverman
1997-08-17  0:00     ` Nick Andrew
1997-08-17  0:00       ` Robert Dewar
1997-08-18  0:00         ` Nick Andrew
1997-08-20  0:00           ` Rune Moberg
     [not found]         ` <33F771E2.363E18E9@hotmail.com>
1997-08-18  0:00           ` Robert Dewar
1997-08-20  0:00     ` Ralph Silverman
1997-08-22  0:00     ` Ralph Silverman
1997-08-26  0:00       ` Boyd Roberts
     [not found] <5s7tpq$gjt@nntp.seflin.org>
1997-08-05  0:00 ` International Algorithmic Language Borg
1997-08-05  0:00 ` W. Wesley Groleau x4923
1997-08-06  0:00   ` John M. Mills
1997-08-06  0:00 ` John Gluth
1997-08-06  0:00 ` John Gluth
     [not found] ` <5sa97g$o4l@falcon.le.ac.uk>
1997-08-06  0:00   ` Chris Waters
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox