Related articles |
---|
Tiny Compiler in many languages at Rosettacode.org ed_davis2@yahoo.com.dmarc.email (Ed Davis) (2016-11-10) |
Re: Tiny Compiler in many languages at Rosettacode.org alebencz@gmail.com (2017-08-16) |
From: | Ed Davis <ed_davis2@yahoo.com.dmarc.email> |
Newsgroups: | comp.compilers |
Date: | Thu, 10 Nov 2016 21:35:28 +0000 (UTC) |
Organization: | Compilers Central |
Injection-Info: | miucha.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="57653"; mail-complaints-to="abuse@iecc.com" |
Keywords: | available, comment |
Posted-Date: | 11 Nov 2016 10:22:27 EST |
At rosettacode.org, there are some new compiler related tasks.
They revolve around creating the following "pieces" for a simple
compiler:
* Scanner - http://rosettacode.org/wiki/Compiler/lexical_analyzer
* Parser - http://rosettacode.org/wiki/Compiler/syntax_analyzer
* Code Generator - http://rosettacode.org/wiki/Compiler/code_generator
* Virtual Machine Interpreter - http://rosettacode.org/wiki/Compiler/virtual_machine_interpreter
* AST Interpreter - http://rosettacode.org/wiki/Compiler/AST_interpreter
In case you are not familiar with Rosetta Code:
Rosetta Code is a programming chrestomathy site. The idea is to
present solutions to the same task in as many different languages
as possible, to demonstrate how languages are similar and
different, and to aid a person with a grounding in one approach
to a problem in learning another.
What better place to solicit some (simple) compiler related code
than comp.compilers?
Currently there are examples in C, Python, and Algol W. I hope
members of this list will contribute a few solutions in
additional languages!
[Algol W? Wow. -John]
Return to the
comp.compilers page.
Search the
comp.compilers archives again.