T
Tinkertim
Hello to all,
I've been using C for a long time however I'm about to take my first
splash into making a parser. I have some interesting things to
accomplish and I'm hoping to get some recommended links to tutorials
that might help me jump in.
I will be parsing a configuration file, like this:
vars {
shemp = "not_larry"
lucy = "in the sky with diamonds"
}
group foo {
class bar {
foobar = %lucy%
barfoo = *.txt
}
default = foo
stooge = %shemp% ? %shemp% : "none"
}
There's some interesting stuff going on there, I will need to expand
variables, handle globs and handle stanzas inside stanzas inside
stanzas.
Globbing really doesn't have much to do with the parser, just there as
an example of what I need to accomplish.
I've spent the last few days reading many tutorials on flex, however
many of them assume that I know a little more than I do.
Could some kind soul point to some links that might help me wrap my
head around it?
Thanks in advance!
--Tim
I've been using C for a long time however I'm about to take my first
splash into making a parser. I have some interesting things to
accomplish and I'm hoping to get some recommended links to tutorials
that might help me jump in.
I will be parsing a configuration file, like this:
vars {
shemp = "not_larry"
lucy = "in the sky with diamonds"
}
group foo {
class bar {
foobar = %lucy%
barfoo = *.txt
}
default = foo
stooge = %shemp% ? %shemp% : "none"
}
There's some interesting stuff going on there, I will need to expand
variables, handle globs and handle stanzas inside stanzas inside
stanzas.
Globbing really doesn't have much to do with the parser, just there as
an example of what I need to accomplish.
I've spent the last few days reading many tutorials on flex, however
many of them assume that I know a little more than I do.
Could some kind soul point to some links that might help me wrap my
head around it?
Thanks in advance!
--Tim