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

Flex Based Outline Generator

Posted 11-15-2021 at 02:36 AM by astrogeek
Updated 11-15-2021 at 02:43 AM by astrogeek

This little project was suggested by my participation in the thread Bison YACC compiler generator question in the Programming forum which was started by LQ member schmitta. It is a simple program which produces formatted outlines, or other indented text output, from plain text source files with a few simple markup options.

The original question in the linked thread related to a Flex/Bison generated parser, but as the thread progressed it seemed to me that some basic level of function...
Moderator
Views 1430 Comments 0 astrogeek is offline
Old

Outline Input Example

Posted 11-15-2021 at 02:32 AM by astrogeek

Following is an example input file for the post Flex Based Outline Generator.

Copy the text below into a file named example.txt in your build directory and pass it as input to the application described in the above linked post.

Code:
##########################################
# Example Outline Specification          #
# Outlines operation of outline parser   #
##########################################

.tcOutline Generator Outline
...
Moderator
Posted in Uncategorized
Views 557 Comments 0 astrogeek is offline
Old

Flex Outline Generator Spec File

Posted 11-15-2021 at 02:31 AM by astrogeek

Following is the Flex specification source for the post Flex Based Outline Generator.

Build instructions are included in the comments at top of the source below.

Copy and paste into a file named outline.l in your build directory. You may test your build using the example input file referenced in the above linked post.

Code:
%top{
/* Robert Allen Nov 14, 2021 astrogeek::linuxquestions.org
   License: Love and respect others as yourself, do unto
...
Moderator
Posted in Uncategorized
Views 531 Comments 0 astrogeek is offline
Old

Hacking a Dingoo A320 in 2021

Posted 11-09-2021 at 08:16 AM by slackmensch (The Old Charvari)
Updated 12-24-2021 at 07:19 AM by slackmensch (clarify obscure reference to Anime)

I recently bought one of these on eBay for about 20 USD. I quickly discovered that the built-in emulators were of poor quality. In fact, having bought a few super-cheap "Retro Game" knock-off consoles, the hideous PSP-inspired UI and solecisms of Engrish in the menus("3D Game" apparently means "native app" and "Interesting Game" means "emulator or rom".), this little 12-year-old console looked very annoyingly familiar.

So I started...
Member
Posted in Uncategorized
Views 2288 Comments 1 slackmensch is offline
Old

[vim] avoid accidental maro recording (@q)

Posted 11-06-2021 at 06:02 AM by Michael Uplawski
Updated 11-13-2021 at 12:42 AM by Michael Uplawski

in ~/.vimrc I note
Code:
nnoremap Q q
nnoremap q <Nop>
and no longer end up in macro-recording mode, when I forget the colon before 'q'.

Copied & pasted from Stack Overflow (see there).
Senior Member
Views 160 Comments 0 Michael Uplawski is offline

  



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