Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Ada and Java/C++
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Niklas Holsti  
View profile  
 More options Aug 28 2012, 5:16 am
Newsgroups: comp.lang.ada
From: Niklas Holsti <niklas.hol...@tidorum.invalid>
Date: Tue, 28 Aug 2012 12:15:58 +0300
Local: Tues, Aug 28 2012 5:15 am
Subject: Re: Ada and Java/C++
On 12-08-28 11:31 , kalvin.n...@gmail.com wrote:

> tiistai, 28. elokuuta 2012 9.57.40 UTC+3 Shark8 kirjoitti:

>> But on a more serious note; it might be interesting to build a
>> [basically mufti-lingual] compiler that could, say, take a grammar
>> and a source and compile the source. {Yeah, that'd be kinda like
>> GCC, with all it's front-ends.} Then you could inexpensively try
>> out different grammars until you find your Ada/C hybrid.

> This is an excellent suggestion. In that way one could prototype with
> the ideas and see what works and what doesn't.

Look up "metacompiler" or "compiler-compiler" or "compiler generator".
This area has been worked on for a long time, with some useful results,
but it is still not so easy to "try out a different grammar", except for
trivial (lexical) changes to the grammar, such as using curly brackets
instead of keywords.

Also, to see "what works", one would have to set up controlled
experiments involving many programmers using the various syntaxes for
various kinds of programs of non-trivial size. That becomes expensive,
unless you can interest teachers to force the experiments on students,
which, unfortunately, is not a realistic enviroment.

--
Niklas Holsti
Tidorum Ltd
niklas holsti tidorum fi
      .      @       .


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.