Fermé

C++ parser for logical expressions

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

Compétences : Programmation C++, Programmation C, Programmation C#, Architecture Logicielle

Concernant le client :
( 0 commentaires ) San Jose, Costa Rica

Nº du projet : #34403851

32 freelances font une offre moyenne de 22 $/heure pour ce travail

AwaisChaudhry

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 Plus

$50 USD / heure
(102 Commentaires)
8.5
apgrl123

I CAN COMPLETE YOUR PROJECT EASILY Hello, I am programmer with enough experiences on C/C++, Python for 10+ years. C/C++, Python is nice programming language and I am majoring on it for long years so I have confident to Plus

$20 USD / heure
(27 Commentaires)
6.7
SPARKtechBD

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 Plus

$25 USD / heure
(34 Commentaires)
6.2
(4 Commentaires)
5.8
ayesha0124

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] Plus

$50 USD / heure
(9 Commentaires)
5.4
LashkoA97

❤️Hello, sir. I am Anna from Ukraine.❤️ I have read your project requirement carefully and understood what you need. As a highly skilled C++ developer, I can help you perfectly. I am very confident with my skills and I Plus

$25 USD / heure
(3 Commentaires)
5.1
golosoft

Hi, I read your description. I've professional experience in software development. Contact me. Thank you...

$25 USD / heure
(13 Commentaires)
4.4
alexgurudewloper

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 Plus

$20 USD / heure
(2 Commentaires)
4.6
mohammadakanan

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 Plus

$35 USD / heure
(8 Commentaires)
4.5
iamhamzazaki

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.

$20 USD / heure
(12 Commentaires)
4.0
anenkovakateryna

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 Plus

$20 USD / heure
(6 Commentaires)
4.0
darkez85

Hello. I can complete in 5 hours. I'm interested in your project and ready to help you. I'm c/c++/c# expert and can meet your requirement. Thank you in advance for your time and consideration. I look forward to working Plus

$20 USD / heure
(6 Commentaires)
3.5
pungairi

Hello. In a desktop application, I am very excellent in C++, Java, c#, python, etc. and also I am good at algorithm projects just DFS, BFS, A*, Uniform, Greedy Algorithm before I was in many desktop apps such as c++, c Plus

$20 USD / heure
(1 Évaluation)
3.5
saiddz00

Hi, I have 7 years+ experience in C++ and have written these types of interpreters before and know exactly how they work. This is similar to proof software like Z3 and I had to deal with this before for solving nurikab Plus

$18 USD / heure
(9 Commentaires)
3.6
ManormaShehzadi

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 Plus

$15 USD / heure
(11 Commentaires)
3.7
Miqbal242

Hello , Hope you are doing fine there !! I'll be happy to assist you with your project C++ parser for logical expressions. I would like to discuss with you in more details so that I can understand the work and the f Plus

$15 USD / heure
(1 Évaluation)
2.8
KimVadim

Hello. I am a C++ experter.I can finish your task for 24 hours. My hourly rate is 25$. I have similar work in the past, so I can finish your work ASAP. I would like to discuss with you in details. Thank you for your re Plus

$20 USD / heure
(3 Commentaires)
2.4
zeeraknoumansid5

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 Plus

$17 USD / heure
(5 Commentaires)
2.2
devastatingram

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.

$20 USD / heure
(1 Évaluation)
1.4
alamineee

Hi, Dear Employer, I have read your job post carefully. I can write clean validated Machine Learning code and make a device-supported M. File. I have over 10+ years of experience at the ✔Machine Learning (ML) ✔Python Plus

$20 USD / heure
(7 Commentaires)
3.3