LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs > rainbowsally
User Name
Password

Notices


Old

An Alternate Glade Build.

Posted 04-25-2015 at 01:03 PM by rainbowsally

An Alternate Glade Build. Yes, this actually pertains to the parser, but nevermind that for now.

Need to build glade with -g3 flags? The Computer Mad Science Team does, and so today's marvelous adventure starts here. [Only needs 'make' and the original glade sources d/load to do it.]

Features:
  • An alternate build system generated with Computer Mad Science tools.

Our attempt to use the standard ./configure-make sources to get glade to compile with debug flags...
Member
Posted in Uncategorized
Views 1060 Comments 0 rainbowsally is offline
Old

The C/C++ Parser Generator (v. 2.x)-- Example 3 (MC2 .DEF Parser Parser

Posted 04-23-2015 at 03:56 PM by rainbowsally
Updated 05-02-2015 at 10:24 PM by rainbowsally (typo in title)

[fixed bad link to parser stuff Apr 24, 2015 -rs]

What a bother it is to continually upload Makefiles. Let's let Son Of MC2 do it for us.

Today's Features:
  • A makefile creator to compile and link all files in your SRC directory.
  • Stringing together of C and boolean parser elements (see main())
  • Working with strings, reading values by name from files, and stuff like that.

The BIG download, the low level parser files, are packed up and base64-ed here....
Member
Posted in Uncategorized
Views 680 Comments 0 rainbowsally is offline
Old

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

Posted 04-22-2015 at 02:31 PM by rainbowsally
Updated 05-05-2015 at 03:06 AM by rainbowsally (added warning about shell expansion of wildcard chars)

[If you have problems with super-dosex, see the notes at the bottom of this blog entry.]

This example/test produces a parser similar to old DOS wildcards.

On the way to Madalay, I met a man with GTK.

What this is all about is testing the parser for a "real" application that will take a glade output file and write the code in C/C++. How far will we get? ;-) Doesn't matter, we can have some fun along the way.

And so...
...
Member
Posted in Uncategorized
Views 536 Comments 0 rainbowsally is offline
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 1241 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 1181 Comments 0 rainbowsally is offline

  



All times are GMT -5. The time now is 02:41 PM.

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
Open Source Consulting | Domain Registration