C++ parser for logical expressions
Orçamento $15-25 USD / hora
Job Description:
Create a C++ program that will parse a string matching expression aimed at producing a true/false result.
Assume a reference string
'THIS IS A STRING'
and a user entered pattern/expression
"his || sTring"
The objective is to test whether the pattern matches the reference string - which it does in this example.
Allowable operators are:
||, or = OR
&&, and = AND
^ = XOR
!, not= NOT
( ) parenthesis for nested patterns
The parser should follow the usual C++ precedence rules.
Another contrived example for the same reference string:
"(this or that) and (str and !srt)"
This would also produce a 'true' result.
Note the operator has 2 forms - C style symbol or a string equivalent.
The user can enter either depending on the situation.
For cases where the reference string is known NOT to use the keywords 'and', 'not', 'or', 'xor' the string form of the operators is likely to be used.
Otherwise the C style operator form shall be used.
Your program will be built on Microsoft Windows with visual Studio 2015 or later to produce an EXE.
Your EXE should read in an ASCII file - can hardcode the filename - which is a simply a line of reference text entries - each line is just some arbitrary reference string.
The EXE should also prompt user for a pattern string. Then simply dump to std::cout the result (true/false) of matching the user entered pattern against each string found in the text file. This allows me to quickly check the pattern matching against arbitrary strings.
Libraries, where used, should be open-source for full transparency.
Let me know your bid and time estimate
Thank you
32 freelancers estão ofertando em média $22/hora nesse trabalho
Hello,I have read the job description and I am interested in this job. I have 8 years experience in developing products using C++ Programming, Software Architecture, C Programming and C# Programming. I have read your r Mais
Since 2015 I am working in C/C++ programming. So more than 7(seven) years of experience in C/C++ programming. I can build any class, function or method for you. Also expert in data structure building and OOP. Very good Mais
Hi there, How r u? I bid as i believe that I can help you with this project as i have the experience with Software Architecture, C# Programming, C++ Programming and C Programming. here is my portfolio: [login to view URL] Mais
Hi, I read your description. I've professional experience in software development. Contact me. Thank you...
Hello. Thanks for your job posting. I just checked your project carefully. It is an ideal match for my skills and experience. I have rich experience in C/C++. I can start working immediately. Let's start the chat so th Mais
Hello , I am familiar with pattern matching algorithms , with /without libraries .. but I prefer to do the project with Qt core API which is supported on Windows for msvc 2019 and previous versions. I think , all other Mais
Hello, I'm a former CP (competitive programming) competitor, I'm a master at algorithms and algorithms and could help you solve your problem quickly with clean, optimized and well-commented code.
Hi I've read the project description carefully. I have 5 years of experience in C++ programming for string parser, so I became an expert that fits perfectly with your requirement fields. It would be a great pleasure Mais
My qualification is Msc Mechatronics and Control engineering.I am also working as lab engineer in one best university of Pakistan. I have done many academic project on C++. I have performed many labs work on C++.I als Mais
Hello Sir. I am a professional c and c++ developer with experience in OOP and dsa. My skillsets matches you requirements. I asure you that I can do it with best quality and in minimum wage. You would love my work. Hope Mais
Hello I understood your requirement but I have few doubts, text me so I can clear all my doubts right away, I can help you and i am ready for work. Thank you.
Hi, I'm an experience developer in C++. I can provide you program that can match strings using logical operators. I will provide you source code and EXE file which can read some strings from a txt file to match them wi Mais
Hello there, Hope you are doing. I have read your project details. I would like to tell you that I can create a C++ program that will parse a string matching expression aimed at producing a true/false result. I have Mais
Hello I read your document and I am interesting in your job. I am confident about your project because I have rich experience on RegExp and Algorithm pls contact me and discuss about your job more detai. thanks regards Mais