[OT] The ROMAN II Programming Language
Salih Dincer
salihdb at hotmail.com
Sun May 8 06:32:47 UTC 2022
On Saturday, 7 May 2022 at 16:15:55 UTC, matheus wrote:
> Hi,
>
> Just sharing this because seems a neat work. I saw this
> yesterday on /r/C_Programming.
>
> Link to the project: https://github.com/glouw/rr
>
> According to the author: /u/_cwolf
>
> "Some context, this was an experiment to show that a modern day
> garbage collected programming language akin to some of the
> earlier python2s can by written in about ~5k lines of pure C
> without external dependencies. It's all within a single file,
> including a recursive descent parser, assembler, virtual
> machine, and garbage collector. Included be some 40 examples of
> leetcode to showcase that the language (dubbed roman2) can
> optimally solve medium and hard style leetcode questions.".
>
> More context on another sub:
>
> "I suppose, as a little context, I was rather discouraged with
> the recent interview process and so I took it upon myself to
> turn what would be a standard practice in our industry into a
> little bit of condensed art. The entirety of roman2 lives
> within roman2.c which includes a virtual machine, garbage
> collector, assembler, and compiler with a hand rolled recursive
> descent parser. I aimed to keep it all under 5k lines of C,
> with no external dependencies, keeping the source style similar
> to Crenshaw's Let's Build a Compiler series. The aim was to
> solve leetcode - like one would to gain new job prospects - but
> just with that of a custom language to prove that failing
> technical interviews is at least not a poor reflection of one's
> technical merit.
>
> I'm certainly not trying to boast technical merit. I just find
> the technical process of hiring overwhelmingly complex.".
>
> Matheus.
I reck your work very remarkable. Recruitment processes are
sometimes brutal. Please proceed on the path you think is right.
I wonder what it would be like if we wrote it in D to do the same
job?
SDB at 79
More information about the Digitalmars-d
mailing list