Re: stack languages, was Supporting multiple input syntaxes

luser droog <mijoryx@yahoo.com.dmarc.email>
Mon, 24 Aug 2020 12:14:42 -0700 (PDT)

          From comp.compilers

Related articles
Supporting multiple input syntaxes mijoryx@yahoo.com.dmarc.email (luser droog) (2020-08-12)
Supporting multiple input syntaxes davidlovemore@gmail.com (David Lovemore) (2020-08-15)
Re: Supporting multiple input syntaxes mijoryx@yahoo.com.dmarc.email (luser droog) (2020-08-15)
Re: Supporting multiple input syntaxes davidlovemore@gmail.com (David Lovemore) (2020-08-16)
Re: Supporting multiple input syntaxes mijoryx@yahoo.com.dmarc.email (luser droog) (2020-08-20)
Re: Supporting multiple input syntaxes mijoryx@yahoo.com.dmarc.email (luser droog) (2020-08-23)
Re: implementation languages, was Supporting multiple input syntaxes mijoryx@yahoo.com.dmarc.email (luser droog) (2020-08-23)
Re: stack languages, was Supporting multiple input syntaxes mijoryx@yahoo.com.dmarc.email (luser droog) (2020-08-24)
| List of all articles for this month |
From: luser droog <mijoryx@yahoo.com.dmarc.email>
Newsgroups: comp.compilers
Date: Mon, 24 Aug 2020 12:14:42 -0700 (PDT)
Organization: Compilers Central
References: 20-08-002 20-08-009 20-08-010 20-08-011 20-08-012 20-08-014 20-08-015
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="33337"; mail-complaints-to="abuse@iecc.com"
Keywords: design, history
Posted-Date: 24 Aug 2020 15:20:07 EDT
In-Reply-To: 20-08-015

On Monday, August 24, 2020 at 10:42:33 AM UTC-5, luser droog wrote:
> > [Why Postscript? I realize it's Turing complete, but it seems odd to run ones parser on a printer. -John]
>
> I discovered PostScript around '97 or '98. I was taking Computer Graphics
> and it was in an Appendix to the textbook (Salman). At the same time
> I was editor of the Honors College student magazine so it really piqued
> my interest as a graphics and typography language. ...


> [Take a look at Forth. Many of the same advantages, runs a lot more places. -John]


Good suggestion. I have looked at Forth quite a bit. I lurked in
comp.lang.forth for a number of years. I've got a half-written
interpreter that stalled because my vm doesn't have any I/O.


https://groups.google.com/d/topic/comp.lang.forth/Y1XlX8wD3RQ/discussion
https://retrocomputing.stackexchange.com/questions/6610/how-to-do-i-o-with-emulation-code


I went down a wild rabbit hole after discovering the document "X86 is an
octal machine" and tried to recode the assembler macros using more octal.
But I kind of stalled on that whole area since the first thing I would
want in Forth is tagged objects like PostScript has. There's Oforth and
8th which both supply that sort of thing, but then I'd probably miss
the PS graphics functions.,,. :)


I've also played with APL and tried writing a few interpreters for it.
But the common thread among all these interpreters was coding them all
in C. So I turned my attention to compiling and analyzing C code.
A friend of mine was wanting a really customizable C formatter so I
thought I might be able to make a tool to accommodate lots of different
backends for doing something with the parse tree or syntax tree.
I want to be able to write C99 code and transpile it automatically to
something that will work with the MS compiler without having to maintain
any MS business in the "master" source.


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.