LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

The C/C++ Parser Generator (v. 2.x)-- Intro & Example 1 (ToCamelCase)

Posted 04-20-2015 at 06:42 PM by rainbowsally
Updated 05-04-2015 at 12:27 PM by rainbowsally (not enough sleep that day)

The C/C++ Parser Generator (v. 2.x)-- Intro & Example 1 (ToCamelCase)

Based loosely on the long defunct but exceedingly wonderful non-gnu BNF project at Savanah...

Today's Amazing Features
  • Character-wise parser with basic string (abbrev 'str') functions built-in.
  • Uses normal intuitive C/C++ boolean grammar, if(), while(), &&, ||, etc.
  • Powerful string translation and inline EXTERN( ... ) capability.
  • Funcs:
  • is_*()
  • not_*()
...
Member
Posted in Uncategorized
Views 174 Comments 0 rainbowsally is offline
Old

The C/C++ Parser Generator (v. 2.x) -- The Brains

Posted 04-20-2015 at 06:15 PM by rainbowsally
Updated 05-08-2015 at 04:17 AM by rainbowsally (bug fix, typo correction, misc tweeks)

The C/C++ Parser Generator (v. 2.x) -- The Brains

Features:
  • How many times do I have to tell you, Igor?

See the version notes at the top of the source extractor below. Latest: May 8, 2015.

The code for this is just over the size limit here at linuxquestions last time I ran into it, so we have packed this stuff up.

Run this file as 'sh parser-files.base64'. You probably have the base64 app if you're running linux.

It creates:...
Member
Posted in Uncategorized
Views 188 Comments 0 rainbowsally is offline
Old

Simple C example for beginners and bug fix for libLQ-qt version 3.0.x

Posted 01-13-2013 at 06:57 PM by rainbowsally

Simple C example for beginners and bug fix for libLQ-qt version 3.0.x

[v.3.0 (mc2 and libLQ) will no longer be the current version(s) but it still works and we have a bug fix here that applies to all 3.0.x versions.]

Today's feature:
  • A simple C/C++ example.
  • A converter from relative paths to absolute.
  • A bug fix for the libLQ-qt/mc2 3.0 d/load.

While 'canonicalize_file_name()' is great for paths that don't have macros in them, and for dereferencing symlinks,...
Member
Posted in Uncategorized
Views 434 Comments 0 rainbowsally is offline

  



All times are GMT -5. The time now is 07:19 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration