Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » UppHub » ANSI Escape and control sequence parser for U++
ANSI Escape and control sequence parser for U++ [message #49778] Tue, 01 May 2018 16:24 Go to next message
Oblivion is currently offline  Oblivion
Messages: 1092
Registered: August 2007
Senior Contributor
Hello,

AnsiParser is a simple yet flexible ANSI escape and command sequence parser and filter for U++

AnsiParser package for Ultimate++
---------------------------------
This class implements a simple yet flexible parser and filter for the ANSI escape and control sequences. 
It is also a suitable tool for building more complex parsers.

AnsiParser class supports:

- Both ASCII and UTF-8 character sets.
- Parsing of escape and control sequences.
- Parsing of operating system commands (OSC, xterm extension).
- Working directly with streams

AnsiParser is modal and moveable.

Reference examples:
-------------------

- AnsiParserExample: Demonstrates the basic capabilities of AnsiParser package.
- AnsiParserGUI:     Demonstrates a simple passive display with ANSI SGR (Select Graphic Rendition) parsing.



Please feel free to comment on it. I appreciate bug reports, criticism, feedback, etc.

I attached the package to the message.

You can also find the package at the below git address:

https://github.com/ismail-yilmaz/upp-components/tree/master/ Core/AnsiParser

Best regards,
Oblivion



[Updated on: Thu, 24 May 2018 01:09]

Report message to a moderator

Re: ANSI Escape and control sequence parser for U++ [message #49871 is a reply to message #49778] Thu, 24 May 2018 01:20 Go to previous message
Oblivion is currently offline  Oblivion
Messages: 1092
Registered: August 2007
Senior Contributor
Hello,

AnsiParser package is updated.

It contains a GUI example which demonstrates a simple passive display capable of parsing SGR (select graphic rendititon) commands subset.


A screenshot of the AnsiParserGUI example:


index.php?t=getfile&id=5584&private=0

You can find the updated package in the first message of this topic, or you can grab it from:

https://github.com/ismail-yilmaz/upp-components/tree/master/ Core/AnsiParser
https://github.com/ismail-yilmaz/upp-components/tree/master/ Examples

Best regards,
Oblivion


[Updated on: Thu, 24 May 2018 08:25]

Report message to a moderator

Previous Topic: OpenCV and openCV_Demo copiling error
Next Topic: Serial.h recommended nonblocking write
Goto Forum:
  


Current Time: Fri Apr 19 10:36:47 CEST 2024

Total time taken to generate the page: 0.02245 seconds