Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #17092 > unrolled thread

Printed-quotable

Started bymhx@iae.nl (Marcel Hendrix)
First post2012-11-06 21:59 +0200
Last post2012-11-06 20:55 -0500
Articles 4 — 4 participants

Back to article view | Back to comp.lang.forth


Contents

  Printed-quotable mhx@iae.nl (Marcel Hendrix) - 2012-11-06 21:59 +0200
    Re: Printed-quotable Bernd Paysan <bernd.paysan@gmx.de> - 2012-11-06 23:51 +0100
    Re: Printed-quotable Josh Grams <josh@qualdan.com> - 2012-11-06 23:56 +0000
    Re: Printed-quotable "Rod Pemberton" <do_not_have@notemailnotz.cnm> - 2012-11-06 20:55 -0500

#17092 — Printed-quotable

Frommhx@iae.nl (Marcel Hendrix)
Date2012-11-06 21:59 +0200
SubjectPrinted-quotable
Message-ID<16761497928435@frunobulax.edu>
OK, I admit defeat.

Did anybody write a printed-quotable decoder (NOT an encoder :-) 
in Forth? I'd like a copy. 

-marcel

[toc] | [next] | [standalone]


#17093

FromBernd Paysan <bernd.paysan@gmx.de>
Date2012-11-06 23:51 +0100
Message-ID<19600078.Wkt0X4570X@sunwukong.fritz.box>
In reply to#17092
Marcel Hendrix wrote:

> OK, I admit defeat.
> 
> Did anybody write a printed-quotable decoder (NOT an encoder :-)
> in Forth? I'd like a copy.

Gforth's decompiler contains one, which isn't perfect, e.g. for \t it 
decodes \011.  Which is correct, but I'd say "incomplete".

-- 
Bernd Paysan
"If you want it done right, you have to do it yourself"
http://bernd-paysan.de/

[toc] | [prev] | [next] | [standalone]


#17094

FromJosh Grams <josh@qualdan.com>
Date2012-11-06 23:56 +0000
Message-ID<5099a3bc$0$17377$882e7ee2@usenet-news.net>
In reply to#17092
Marcel Hendrix wrote: <16761497928435@frunobulax.edu>
> OK, I admit defeat.
>
> Did anybody write a printed-quotable decoder (NOT an encoder :-) 
> in Forth? I'd like a copy. 

I must be missing something.  Don't you just strip trailing whitespace,
convert "=XX" to the associated octet, and drop the newline if there is
a trailing '='?

--Josh

[toc] | [prev] | [next] | [standalone]


#17097

From"Rod Pemberton" <do_not_have@notemailnotz.cnm>
Date2012-11-06 20:55 -0500
Message-ID<k7ceq7$f7k$1@speranza.aioe.org>
In reply to#17092
"Marcel Hendrix" <mhx@iae.nl> wrote in message
news:16761497928435@frunobulax.edu...
> OK, I admit defeat.
>
> Did anybody write a printed-quotable decoder
> (NOT an encoder :-) in Forth? I'd like a copy.
>

What ... ?

What do you need to do other than convert escape sequences as =XX (equal
sign and two hexadecimal digits) to ASCII?


Rod Pemberton


[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.forth


csiph-web