I have some doubts.I think one of you can solve this.I'm c++ fresher.My doubts are:
1.What's a parser in C++?:?:
2.How to create a parser cum interface window in c++.:?:
Help me please.Thanks in advance.:icon_neutral:
A parser is a computerprogram and does not have to be in C++.
It can be written in any convienient language.
From wiki :
A parser is one of the components in an interpreter or compiler, which checks for correct syntax and builds a data structure (often some kind of parse tree, abstract syntax tree or other hierarchical structure) implicit in the input tokens. The parser often uses a separate lexical analyser to create tokens from the sequence of input characters. Parsers may be programmed by hand or may be semi-automatically generated (in some programming language) by a tool (such as Yacc) from a grammar written in Backus-Naur form.
root = tkinter.Tk()
buttons=[i for i in range(10)]
#If specific button is pressed, output "YES"
for num in buttons: