The authors developed a compiler for a toy language targeting Raspberry Pi using lex and yacc. Nothing very new but it shows how you build a
compiler incremntally expanding the source language.
https://arxiv.org/abs/2501.04503
The authors developed a compiler for a toy language targeting Raspberry Pi using lex and yacc. Nothing very new but it shows how you build a
compiler incremntally expanding the source language.
https://arxiv.org/abs/2501.04503
John R Levine <johnl@taugh.com> wrote:
The authors developed a compiler for a toy language targeting Raspberry Pi >> using lex and yacc. Nothing very new but it shows how you build a
compiler incremntally expanding the source language.
https://arxiv.org/abs/2501.04503
I am affraid that the best use of this paper is to forget it.
On one hand presentation is very naive and their "final"
compiler apparently does not handle things handled in ususal toy
compilers. On the other hand their presentation has a lot of
gaps and mistakes, so that a newbie is unlikely to be able to
follow them.
antispam@fricas.org writes:
John R Levine <johnl@taugh.com> wrote:
The authors developed a compiler for a toy language targeting Raspberry Pi >>> using lex and yacc. Nothing very new but it shows how you build a
compiler incremntally expanding the source language.
https://arxiv.org/abs/2501.04503
I am affraid that the best use of this paper is to forget it.
On one hand presentation is very naive and their "final"
compiler apparently does not handle things handled in ususal toy
compilers. On the other hand their presentation has a lot of
gaps and mistakes, so that a newbie is unlikely to be able to
follow them.
Would you recommend an equivalent paper or book that addresses these short-comings but maintains the educational spirit of the paper? (It's
okay if the architecture is not a popular one.)
[Good question. There's the old Let's Build a Compiler which you can find
on my web site and some books. Alan Holub wrote a well known book but the code in the book is incredibly buggy so I wouldn't recommend it. -John]
examples. One is variation on Wirth PL/0, but using flex and
bison for syntax and generating code for x86_64. If interested
see:
/zaj/public_html/kompi2015/pr
On Mon, 20 Jan 2025 08:38:42 -0300, Salvador Mirzo
<smirzo@antartida.xyz> wrote:
Would you recommend an equivalent paper or book that addresses these
short-comings but maintains the educational spirit of the paper? (It's
okay if the architecture is not a popular one.)
On 2025-01-20 06:38, Salvador Mirzo wrote:
Would you recommend an equivalent paper or book that addresses these
short-comings but maintains the educational spirit of the paper? (It's
okay if the architecture is not a popular one.)
[Good question. There's the old Let's Build a Compiler which you can find >> on my web site and some books. Alan Holub wrote a well known book but the >> code in the book is incredibly buggy so I wouldn't recommend it. -John]
What are expert opinions on Wirth's book Compilerbau (German notwithstanding)? There seem to love-it or hate-it opinions without
much substance.
On Mon, 20 Jan 2025 11:17:21 -0500, OrangeFish
<OrangeFish@invalid.invalid> wrote:
What are expert opinions on Wirth's book Compilerbau (German
notwithstanding)? There seem to love-it or hate-it opinions without
much substance.
(Another question is where to look for how to add debugging information
to the output.)
OF.
The English version is fairly simplistic - an undergrad intro course
at best. I haven't seen the German version.
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 65 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 08:02:49 |
| Calls: | 862 |
| Files: | 1,311 |
| D/L today: |
1 files (1,366K bytes) |
| Messages: | 264,936 |