Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Creating an extensible mid-level parser that makes sense in C.
Looking at BNF-like syntax and C syntax similarities.
Tossing flex as far as we can throw it. While its still burning.
The file set here isn't 'finalized' in any way but it's been stable for a few days. These examples are therefor not about THIS set of functions but about parsing in general, although this file set will very likely be part of the mc2 parsing system...
After that last rant about screwy software, I found some GREAT software. mpg123 is outstanding.
Today's Features
Me eating my words, even about assembler coding. ;-)
Famous last words galore! I even have to eat my words about asm. In fact this app is so cool I had to add the ability to compile asm and C sources in the same directory to the mc2 code.
MPG123 (sandboxed relocatable binary installation OR compile from code, modify, experiment, etc.) is linked...
We've resurrected some dead code that was pretty ugly but the only worse MESS (officially sanctioned, no less) than STL that we've ever seen is the spaghetti in lex/flex output. -- The Computer Mad Science Dept.
So...
Now what?
Well...
...what would ANY good Computer Mad Scientist do in a situation like this?
Behind the scenes, some of the more complex tools are getting incorporated into lq-qt-mc2. Should have an upload in a day or two. lq-find will kock your socks off.. now tuned up and ready for the big time. :-) v. 3.0.14 coming soon.
Today's Features
Create a shortcut with a shortcut icon, directories - OK!
Another new.<utility> using the mc2 extras demo (env-replace)
Revisiting the utility to create a self extractor using base64
A couple of ways to work around unwanted C++ compiler warnings.
STL is a freaking nighmare to trace in a debugger so it's not too easy to tell what goes on in them but one thing became quite clear and that is that iterators are generic pointer types internally, which makes sense since STL needs to deal with so many different types.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.