LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

An Experiment: From C Definitions To Templates

Posted 05-02-2015 at 09:22 PM by rainbowsally
Updated 05-03-2015 at 11:13 PM by rainbowsally (additions and corrections, description mod)

An Experiment: From C Definitions To Templates

This is a tangent, but a forgivable one, no?

Today's mind-blowing Mad Computer Science features:
  • An experiment morphing a regular old C style set of functions into a set of C++ templates.
  • We rename a literal parameter type to a template parameter T and voila!
  • This will help demystify the horrible noise in the messy STL templates by making a simple transition from main_1 to main_2, in which error messages from the compiler
...
Member
Posted in Uncategorized
Views 908 Comments 0 rainbowsally is offline
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 1061 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 1242 Comments 0 rainbowsally is offline
Old

GLADE meets FLUID (FLTK designer) Pt 1

Posted 04-14-2015 at 04:49 AM by rainbowsally
Updated 05-26-2015 at 06:11 PM by rainbowsally (clarification)

May 25, 2015: This project is not dead (yet). We're on out third hack doing this having taken several wrong turns as far as which tags actually need to be written out as code and which can be included as comments (like custom tags).

But as an addendum, I'd like to add, that if this works (at all) it will be useful for seeing how to write a gtk application by hand by outputting working code for whichever tags it ends up handling correctly. And for those it doesn't handle correctly...
Member
Posted in Uncategorized
Views 1574 Comments 0 rainbowsally is offline
Old

new mc2 version

Posted 09-27-2013 at 04:32 PM by rainbowsally

mc2 (makefile creator 2) was created and developed right here at linux questions. It is a terminal app with some gui features and generates makefiles like automake does, but much more simply, using your own directory structure to organize builds -- even very large projects -- super-easy.

http://www.linuxquestions.org/questi...support-34783/

Also recommended are kdevelop3 to replace that DOG they now use in kde, and kdbg...
Member
Posted in Uncategorized
Views 1377 Comments 0 rainbowsally is offline

  



All times are GMT -5. The time now is 06:07 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