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


Groups > comp.compilers > #1800

Tiny Compiler in many languages at Rosettacode.org

From Ed Davis <ed_davis2@yahoo.com.dmarc.email>
Newsgroups comp.compilers
Subject Tiny Compiler in many languages at Rosettacode.org
Date 2016-11-10 21:35 +0000
Organization Compilers Central
Message-ID <16-11-003@comp.compilers> (permalink)

Show all headers | View raw


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]

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


Thread

Tiny Compiler in many languages at Rosettacode.org Ed Davis <ed_davis2@yahoo.com.dmarc.email> - 2016-11-10 21:35 +0000
  Re: Tiny Compiler in many languages at Rosettacode.org alebencz@gmail.com - 2017-08-16 08:35 -0700

csiph-web