Анульовано

Basic Compiler/Translator using Lex and Yacc

We need to have a lexical analyzer and parser (otherwise known as a compiler) capable of generating text-based AST trees (preferably, but not mandatory, binary ones) for a semi-fictional programming language created.

**The Following Describes Part 1 of the Project, it has already been completed:

**

The program should be able to catch lexical and syntax errors but semantic checking and code generation is NOT needed. It is highly recommended (and will make it much easier for you) that you use Lex and Yacc to generate the program. The final source code should be in C or C++ and compile on a modern Unix compiler.

**This is Part 2, which the bidder is required to do:

**

The following needs to be added to the first part of the project:

1) Semantic checking

2) Symbol table

3) Three-address intermediate code generation

The compiler will first read the source file and perform lexical and syntax analysis. On the discovery of either a lexical or syntax error of the input source program perform the same operations as in Part A with no error recovery ??" simply abort on first error after printing an error message. If a semantic error is discovered, print an error message describing the error and continue the analysis ??" it is expected that all semantic errors will be found and reported on a single pass. If the input program passes lexical, syntax and semantic analysis, then print the resultant AST for the entire program and generate the complete 3-address intermediate code for the entire program, follow this with a dump of the symbol. All output is written to the specified output file.

**Detailed Specifications:

**The zip file contains:

1) Detailed specs for part 1

2) Source code to Part 1

3) Detailed specs for part 2

Type compatibility info. and fictional language examples, as well as any other necessary information, will be provided to the winning bidder.

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased.

## Platform

Solaris

Навички: Програмування на С, Chrome OS, Техніка, Linux, Mac OS, MySQL, PHP, Архітектура ПЗ, Тестування ПЗ, Solaris, UNIX, Робочій стіл Windows

Показати більше: work translator, we need translator, unix programming language, trees c, the first programming language, table trees, syntax programming, syntax in programming, project translator, programming syntax, programming symbol, programming language translator, programming language syntax, programming language and it, programming compiler, programming code translator, programming basic, operations on trees, operations on binary, need to hire a translator, needs of translator, need language translator, intermediate programming, generation of programming language, functional programming language

Про роботодавця:
( 26 відгуки(-ів) ) Canada

ID проекту: #3120859

2 фрілансерів(-а) подали заявки на цю роботу; середня заявка - $638

softensive

See private message.

$1190 USD за 13 дні(-в)
(58 відгуків(-и))
6.8
dandreadante

See private message.

$85 USD за 13 дні(-в)
(14 відгуків(-и))
2.5