by: cylin |
last post by:
Dear all,
I am a newbie using lex and yacc.
I really don't know what's wrong with my code, because the output is not
what I want.
My yacc rules don't match, and yylex seems just read only one...
|
by: Profetas |
last post by:
Hi.
I was wondering how can I access the yacc functions?
because when use a normal yacc function such as
qstring {
yylval.string = strdup(yytext+1);
if(yylval.string !='"')...
|
by: Profetas |
last post by:
Hi
I have been trying to add a mid-rule to my yacc grammar but I always get
shift and reduce conflicts
pel-0.0.3.y contains 12 shift/reduce conflicts and 12 reduce/reduce
conflicts.
does...
|
by: Christoph Kukulies |
last post by:
Compilation (make, yacc, lex) of little parser used to work fine under
BSD (FreeBSD) and now that I want to build it under cygwin, I suddenly
get
gcc -c y.tab.c
y.y: In function `yyparse':...
|
by: Berk Birand |
last post by:
Hi,
I am working on a school project where we use lex/yacc to write a compiler
for a fictional (Java-like) language. I have handled all the details about
the yacc and lex files, but I still have...
|
by: max.giacometti |
last post by:
Hi everybody!
I am using lex and yacc to write a vhdl to systemc converter.
Lex simply reads the input file and yacc implements grammar and
translation.
I'd like to be able to make yacc...
|
by: Mohitz |
last post by:
Hi Guys,
I am facing a peculiar problem with my yacc script. Following is the
snippet of the yacc script that i am using.
I am using lex as the lexical analyzer.
Sample Input :
|
by: thomas |
last post by:
hello I m writing a simple parser using bison. I just used someone's else
c++ grammar, to produce a code beutifier. The thing is , most of the actions
for productions would have form
{$$ = $1 + $2...
|
by: Robert |
last post by:
If the goal is to take a 1-dimensional package of text and produce a
tree data structure that is easy to understand and manipulate, and
then write C/C++ code that works with that tree - does...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|