Find Jobs
Hire Freelancers

Generating yacc parser/lexer

€150-350 EUR

Dokončeno
Zveřejněno skoro před 5 roky

€150-350 EUR

Zaplaceno při doručení
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.
IČ projektu: 19316020

O projektu

10 nabídky
Vzdálený projekt
Aktivní před 5 roky

Chcete si vydělat nějaké peníze?

Výhody podávání nabídek na Freelancer

Stanovte si rozpočet a časový rámec
Získejte za svou práci zaplaceno
Načrtněte svůj návrh
Registrace a podávání nabídek je zdarma
Uděleno:
Avatar uživatele
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. I also did some reverse engineering, and I have the relevant literature (Aho/Lam/Sethi is literally on my desk right now, the book on flex/bison is also here). I've heard of some perl script that did something similar to what you want, so I'd tentatively assume that what you need should be possible, at least to some extent. Sounds like a challenging and interesting project, I'd be thrilled to take a look at it.
€300 EUR v 14 dnech
5,0 (1 recenze)
3,0
3,0
10 freelanceři nabízejí v průměru €225 EUR za tuto práci
Avatar uživatele
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, Bison and Flex etc. I'm interested in this project. I'll wait for your good reply. Thanks.
€250 EUR v 3 dnech
4,9 (185 recenze)
6,6
6,6
Avatar uživatele
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++ under Linux environment. I made many great projects using c++, for example, I made the tools which could convert java codes into c++ scripts, of course garbage collection included, this was very similar to a compiler, and was very complex. I also made our own mobile game using c++, I can show you the demo of client, if you like. I am very proficient in java also. I have a very good review on Freelancer.com, I never miss a project once I accept the job, you can check my review. Trust me, please let expert help you.
€150 EUR v 3 dnech
4,8 (104 recenze)
6,8
6,8
Avatar uživatele
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 complete this project for you to the best my ability and without condition I am looking forward to meeting you
€150 EUR v 2 dnech
4,9 (49 recenze)
5,6
5,6
Avatar uživatele
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 it. I hope to work with you on this project. Thanks.
€150 EUR v 3 dnech
5,0 (18 recenze)
5,6
5,6
Avatar uživatele
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 and high fast. if you want to success, please contact me. Then, I will give you good result. hire me.
€200 EUR v 10 dnech
4,4 (19 recenze)
6,0
6,0
Avatar uživatele
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 v 10 dnech
4,4 (11 recenze)
4,3
4,3
Avatar uživatele
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 output in details. I will try to draft a Perl script to fit your requirements. Of course, util you are happy with my script, you can award me then. And if you are not happy, you don't lost any. Regards, --T
€277 EUR v 5 dnech
5,0 (1 recenze)
2,2
2,2
Avatar uživatele
I create a python parser and new rule file. The parser scripting in python in faster than other language
€150 EUR v 30 dnech
0,0 (0 recenze)
0,0
0,0
Avatar uživatele
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 of Lex and Yacc parser generators to identify the intent and based on that provide the solutions to customer. Chatbot entirely on banking domain. Looking forward to know more about the scope. Thanks
€350 EUR v 10 dnech
0,0 (0 recenze)
0,0
0,0

O klientovi

Pochází z POLAND
Wroclaw, Poland
5,0
3
Ověřená platební metoda
Členem od srp 27, 2018

Ověření klienta

Díky! Poslali jsme vám e-mailem odkaz pro získání kreditu zdarma.
Při odesílání e-mailu se něco pokazilo. Zkuste to prosím znovu.
Registrovaných uživatelů Zveřejněných projektů
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Načítání náhledu
Bylo uděleno povolení ke geolokaci.
Vaše doba přihlášení vypršela a byli jste odhlášeni. Přihlaste se znovu.