Related articles |
---|
Programming language similarity derek@NOSPAM-knosof.co.uk (Derek Jones) (2022-04-25) |
Re: Programming language similarity derek@NOSPAM-knosof.co.uk (Derek Jones) (2022-04-25) |
Re: Programming language similarity pronesto@gmail.com (Fernando) (2022-04-25) |
Re: Programming language similarity 0xe2.0x9a.0x9b@gmail.com (Jan Ziak) (2022-04-25) |
Re: Programming language similarity meshach.mitchell@gmail.com (Meshach Mitchell) (2022-04-25) |
Re: Programming language similarity derek@NOSPAM-knosof.co.uk (Derek Jones) (2022-04-25) |
Re: Programming language similarity derek@NOSPAM-knosof.co.uk (Derek Jones) (2022-04-25) |
Re: Programming language similarity gah4@u.washington.edu (gah4) (2022-04-25) |
[1 later articles] |
From: | Derek Jones <derek@NOSPAM-knosof.co.uk> |
Newsgroups: | comp.compilers |
Date: | Mon, 25 Apr 2022 08:59:44 +0100 |
Organization: | Compilers Central |
References: | 22-04-012 |
Injection-Info: | gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="52400"; mail-complaints-to="abuse@iecc.com" |
Keywords: | design, semantics |
Posted-Date: | 25 Apr 2022 12:17:24 EDT |
Content-Language: | en-US |
In-Reply-To: | 22-04-012 |
John,
> https://shape-of-code.com/2022/04/24/programming-language-similarity-based-on-their-traits/
> [That seems awfully simplistic. Fortran and PL/I both have FORMAT statements that look
> superficially similar but the semantics are very different. -John]
Many keywords have different meanings, e.g., the do keyword in Fortran/C.
Even binary operators differ, binary plus for string concatenation.
The blog post uses a token based approach, which does not require
lots of time to gather the data.
A semantics based approach requires lots of head scratching. I made a
start by collecting information on function definitions (mostly forms
of argument passing). The semantic traits I looked at tended to have a
small number of characteristics, so some form of aggregating is needed
to create significant differences.
Return to the
comp.compilers page.
Search the
comp.compilers archives again.