Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.compilers > #1800 > unrolled thread
| Started by | Ed Davis <ed_davis2@yahoo.com.dmarc.email> |
|---|---|
| First post | 2016-11-10 21:35 +0000 |
| Last post | 2017-08-16 08:35 -0700 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.compilers
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
| From | Ed Davis <ed_davis2@yahoo.com.dmarc.email> |
|---|---|
| Date | 2016-11-10 21:35 +0000 |
| Subject | Tiny Compiler in many languages at Rosettacode.org |
| Message-ID | <16-11-003@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]
[toc] | [next] | [standalone]
| From | alebencz@gmail.com |
|---|---|
| Date | 2017-08-16 08:35 -0700 |
| Message-ID | <17-08-006@comp.compilers> |
| In reply to | #1800 |
Em sexta-feira, 11 de novembro de 2016 13:22:26 UTC-2, Ed Davis escreveu: > 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. Hi! I will look to implement this tasks in Elena language ( https://github.com/ELENA-LANG/elena-lang )! Thanks!!
[toc] | [prev] | [standalone]
Back to top | Article view | comp.compilers
csiph-web