C++ parser for logical expressions

Job Description:

Create a C++ program that will parse a string matching expression aimed at producing a true/false result.

Assume a reference 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

Habilidades: Programação C++ , Programação C, Programação C#, Arquitetura de software

Sobre o Cliente:
( 0 comentários ) San Jose, Costa Rica

ID do Projeto: #34403851

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

$50 USD / hora
(102 Comentários)

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 Mais

$20 USD / hora
(27 Comentários)

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

$25 USD / hora
(34 Comentários)

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

$50 USD / hora
(9 Comentários)

❤️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 Mais

$25 USD / hora
(3 Comentários)

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

$25 USD / hora
(13 Comentários)

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

$20 USD / hora
(2 Comentários)

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

$35 USD / hora
(8 Comentários)

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 / hora
(12 Comentários)

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

$20 USD / hora
(6 Comentários)

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 Mais

$20 USD / hora
(6 Comentários)

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 Mais

$18 USD / hora
(9 Comentários)

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

$15 USD / hora
(11 Comentários)

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 Mais

$20 USD / hora
(3 Comentários)

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

$17 USD / hora
(5 Comentários)

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 / hora
(1 Comentário)

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 Mais

$20 USD / hora
(7 Comentários)

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

$15 USD / hora
(3 Comentários)

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

$15 USD / hora
(2 Comentários)

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

$20 USD / hora
(1 Comentário)