Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.compilers > #2979

Re: Programming language similarity

From Derek Jones <derek@NOSPAM-knosof.co.uk>
Newsgroups comp.compilers
Subject Re: Programming language similarity
Date 2022-04-25 08:59 +0100
Organization Compilers Central
Message-ID <22-04-013@comp.compilers> (permalink)
References <22-04-012@comp.compilers>

Show all headers | View raw


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.

Back to comp.compilers | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Programming language similarity Derek Jones <derek@NOSPAM-knosof.co.uk> - 2022-04-25 00:00 +0100
  Re: Programming language similarity Derek Jones <derek@NOSPAM-knosof.co.uk> - 2022-04-25 08:59 +0100
  Re: Programming language similarity Fernando <pronesto@gmail.com> - 2022-04-25 04:24 -0700
    Re: Programming language similarity Derek Jones <derek@NOSPAM-knosof.co.uk> - 2022-04-25 19:35 +0100
  Re: Programming language similarity Jan Ziak <0xe2.0x9a.0x9b@gmail.com> - 2022-04-25 06:00 -0700
    Re: Programming language similarity Derek Jones <derek@NOSPAM-knosof.co.uk> - 2022-04-25 20:51 +0100
      Re: Programming language similarity gah4 <gah4@u.washington.edu> - 2022-04-25 14:58 -0700
        Re: Programming language similarity Derek Jones <derek@NOSPAM-knosof.co.uk> - 2022-04-26 00:50 +0100
  Re: Programming language similarity Meshach Mitchell <meshach.mitchell@gmail.com> - 2022-04-25 12:06 -0400

csiph-web