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


Groups > comp.compilers > #1800

Tiny Compiler in many languages at Rosettacode.org

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!border1.nntp.dca1.giganews.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news.iecc.com!.POSTED.news.iecc.com!nerds-end
From Ed Davis <ed_davis2@yahoo.com.dmarc.email>
Newsgroups comp.compilers
Subject Tiny Compiler in many languages at Rosettacode.org
Date Thu, 10 Nov 2016 21:35:28 +0000 (UTC)
Organization Compilers Central
Lines 25
Sender news@iecc.com
Approved comp.compilers@iecc.com
Message-ID <16-11-003@comp.compilers> (permalink)
Reply-To Ed Davis <ed_davis2@yahoo.com.dmarc.email>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 8bit
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
X-submission-address compilers@iecc.com
X-moderator-address compilers-request@iecc.com
X-FAQ-and-archives http://compilers.iecc.com
X-Received-Bytes 2154
X-Received-Body-CRC 1948492045
Xref csiph.com comp.compilers:1800

Show key headers only | 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