MESSAGE
DATE | 2016-11-27 |
FROM | ruben safir
|
SUBJECT | Subject: [Hangout-NYLXS] Fwd: Tiny Compiler in many languages at
|
-------- Forwarded Message -------- Subject: Tiny Compiler in many languages at Rosettacode.org Date: Thu, 10 Nov 2016 21:35:28 +0000 (UTC) From: Ed Davis Reply-To: Ed Davis Organization: Compilers Central Newsgroups: comp.compilers
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] _______________________________________________ hangout mailing list hangout-at-nylxs.com http://www.nylxs.com/
|
|