Sedang Disiapkan

Generating yacc parser/lexer

KNOWLEDGE OF YACC or BISON or ANTLR ARE REQUIRED. Without them you couldn't complete this task

Hi,

We need a tool/script, which could generate yacc grammar rules, based on yacc parser definitions (reductions, token actions, state actions, nonterm goto, etc).

Given:

1. Generated by YACC LexerFor<N>.cpp, ParserFor<N>.cpp. They are 100% working. NO CHANGES there

2. Matchers, Transitions, States, Backups for Lexer <N> (see attachement), input#1 ([login to view URL])

3. Reductions, Token actions, State actions, Nonterm goto, State goto for Parser <N> (see attachement), input#2 ([login to view URL])

4. All Actions and their "mapped" values. Will send by demand, when you realise, what exactly you need here.

5. File [login to view URL], which can be parsed by existed LexerFor<N>.cpp and ParserFor<N>.cpp. Will send by demand, when you realise, what exactly you need here.

6. N ~ 20..50 (that it, we have a lot of those cpp parser/lexers)

7. Source code for extracting LEXER tokens, basing on input#1. Will send it only as a reference. You have to complete/rewrite it as well (see milestones description)

Expected:

Write a tool, that

1. Basing on input#1, will GENERATE proper [login to view URL] definition

2. Basing on input#2, will GENERATE proper [login to view URL] definition

Milestones:

1. Basing on input#1, will GENERATE proper [login to view URL] definition (this is done somehow by me in 200 lines of c++, I could share it for reference).

This milestone only shows, that you understand the problem. No source code is shipped to me, only some proof (tool binary or video). It should accept different input (I have a lot). +5%

2. You send me one of the generated .lex (as I wrote, I have a lot of inputs, I will send you 3 to 5 for video/demo, and you send me back only ONE of .lex).

I will generate LexerFor<N>.cpp from this .lex, will adjust code to see that it's really works. If it is, milestone is released. +15%

3. The same with parser and .yacc. First, you prove, that it works. It should accept different input (I will send a lot of there, since it's most important part). When released, + 20%

4. Finalizing milestones. Here I will pay the rest in single or multiple releases, depending on bugs in your tool.

EXAMPLE

Basing on [login to view URL], your TOOL should AUTOMATICALLY output something similar to

%{

#include <stdio.h>

%}

%%

" " ;

[a-zA-Z]* {

return(WORD_TOKEN);

}

[0-9] {

return(DIGIT_TOKEN);

}

category_define_begin {

return CATEGORY_DEFINE_BEGIN_TOKEN;

}

category_define_end{

return CATEGORY_DEFINE_END_TOKEN;

}

name{

return CATEGORY_NAME_TOKEN;

}

.. and so on

%%

I have a lot of [login to view URL] and [login to view URL], all of them have different tokens and grammar rules.

Kemahiran: Algoritma, Pengaturcaraan C#, Pengaturcaraan C++, Python

Lihat lagi: yacc download, yacc python, yacc variables, lex download, yacc and lex, yacc parser example, yacc vs bison, yacc parser generator

Tentang Majikan:
( 1 ulasan ) Poland

ID Projek: #19316020

Dianugerahkan kepada:

Indestruktible

I worked with flex/bison, which are very similar to lex/yacc, and I also have experience with compiler construction, ANTLR4, parser combinators, and one time I've even implemented an LR(k) parser generator from scratch Lagi

€300 EUR dalam 14 hari
(0 Ulasan)
0.0

17 pekerja bebas membida secara purata €229 untuk pekerjaan ini

hbxfnzwpf

I am compiler expert. I am very proficient in c and c++. I have 16 years c++ developing experience now, and have worked for more than 7 years. My work is online game developing, and mainly focus on server side, using c Lagi

€150 EUR dalam 3 hari
(99 Ulasan)
6.8
wangbeizou

Hello. How are you today. I have read and understood this task. I have a lots of experience and very good knowledge of Data structures, Algorithms Design, Computer Architecture. And I'm expert in C/C++, Python, B Lagi

€250 EUR dalam 3 hari
(171 Ulasan)
6.5
TalAkerele

Hi, I am very happy to bid your project. I read your requirements carefully,so i see what you mean. I have been experiments with Algorithm, C# Programming, C++ Programming, Python I'd like to work with you. i'll c Lagi

€150 EUR dalam 2 hari
(44 Ulasan)
5.5
okzhang321

PLEASE CHECK THE FOLLOWING URL https://www.freelancer.com/projects/cplusplus-programming/Build-Parser-using/?w=f [login to view URL] Hi I have much experience with Lagi

€250 EUR dalam 10 hari
(47 Ulasan)
5.1
Ivan927

Hello! I am very interested in your post project. i am really looking for this kind of project for a long time in freelancer since i have rich experience on it. I think this project is very suitable for me and i am Lagi

€277 EUR dalam 10 hari
(8 Ulasan)
5.2
goldsea808

hello,how are you. i read your bid carefully. i am C#, Lexical, Parser expert and have full experience for 7 years. C#, .Net is my top skill and i can handler your project by using C#.Net. I can provide most quality Lagi

€200 EUR dalam 10 hari
(18 Ulasan)
5.4
jk901

Dear As I am a senior software developer, have rich experience with various application development using C#, VC, VB.Net, NodeJS, Matlab, and python If you are interested with my proposal, please let me know i Lagi

€150 EUR dalam 3 hari
(7 Ulasan)
4.9
Zhenqiang

Hello I majored in Operating system at my university, and have deep knowledge about formal language such as yacc, lex CC I can handle your project from now, and very interested in your job Please ping me, I am ready Lagi

€150 EUR dalam 10 hari
(2 Ulasan)
3.8
braincenter

I DO NOT OUTSOURCE I have been a freelancer for the past 8 years, I believe that my experience and skill in this background will prove to be of great help to you. Contact me to discuss more on the detail

€277 EUR dalam 10 hari
(6 Ulasan)
4.2
KongHyongRan

Hi, sir! I have been working as a professional software developer for years and I earned rich experience in it. Especially I have a talent in Java. Thus, I have enough ability to complete your project in a short ti Lagi

€277 EUR dalam 10 hari
(10 Ulasan)
3.8
AlexanderPGR

Hi I am always ready for you. I wish you contact me as soon as possible. Let us discuss your project on chat in detail. Thanks for your regards. P.s. I have experienced mini-lang development using c program. I Lagi

€155 EUR dalam 2 hari
(6 Ulasan)
2.8
mtriettruong

hi, If you can run scripts in a Linux box to generate definition tables, I suggest you to use Perl. It is powerful language to parse strings. So, If you can give me an example of your input, and your expected out Lagi

€277 EUR dalam 5 hari
(1 Ulasan)
2.2
AndreiPPB

Hello. I'm very interested your project. I read your description carefully. I'm very talented C++ & Algorithm developer. if you assign to me this project, you can get a cool result. please contact me. thanks. Lagi

€150 EUR dalam 3 hari
(2 Ulasan)
1.2
mameli1marco

I create a python parser and new rule file. The parser scripting in python in faster than other language

€150 EUR dalam 30 hari
(0 Ulasan)
0.0
bibhutibhusan362

Hi Dear, This is Bibhuti. I have around 5Yrs experience in Python, ML, NLP and Text Mining. I have good knowledge with writing Lexer and Yacc codes. My recent project is on chatbot where we implemented the feature o Lagi

€350 EUR dalam 10 hari
(0 Ulasan)
0.0
evonsystems7

"Hi, Hope you are doing well! Thanks for sharing your project requirement with us. It will be our great pleasure to work on your project. I have checked your requirement, yes we can do it, because we already work on si Lagi

€384 EUR dalam 7 hari
(1 Ulasan)
0.0