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


Groups > comp.lang.forth > #134246

Re: Examples for gforth's objects.fs

Newsgroups comp.lang.forth
References <877bxcm4eb.fsf@news.teletyp.ist>
From albert@spenarnc.xs4all.nl
Subject Re: Examples for gforth's objects.fs
Message-ID <nnd$21fcbea3$2ff9af72@9db95f34943cdfde> (permalink)
Organization KPN B.V.
Date 2025-10-04 15:07 +0200

Show all headers | View raw


In article <877bxcm4eb.fsf@news.teletyp.ist>,  <okflo@teletyp.ist> wrote:
>Hi,
>
>I am currently trying to digg deeper into gforth's object.fs.
>
>For that I would like to read some good object oriented forth code
>(preferred gforth's object.fs, but open to other good examples).

I have made an ansified copy of Mark's Probst gforth lisp, but I have
also remade it using objects:

https://github.com/albertvanderhorst/forthlisp/blob/master/advanced
See the part lisp.frt
(lispl.frt is a remake of the interpreter. Forth is its own
interpreter, don't *write* an interpreter in Forth. Ignore this
if you're interested in objects only.)

>Any recommendations of f.e. a bigger project, thas has public code?

For an advanced project (reverse engineering system) see
//github.com/albertvanderhorst/ciasdis

[ lina530 is a Forth system, with interspersed data and code.
ciasdis , with the help of Forth scripting, generates a source
lina530.asm from the executable with all the labels recovered from
the Forth headers. Then `` ciasdis -a '' recovers lina530
byte for byte. Or you could insert a buffer anywhere, and the
result is a working Forth, moving data to different addresses. ]

This is the same system that recreates colorforth from its
binary, scoffed by Jeff Fox.

>
>
>many thanks - okflo

Groetjes Albert
-- 
The Chinese government is satisfied with its military superiority over USA.
The next 5 year plan has as primary goal to advance life expectancy
over 80 years, like Western Europe.

Back to comp.lang.forth | Previous | NextPrevious in thread | Find similar


Thread

Examples for gforth's objects.fs okflo@teletyp.ist - 2025-10-03 16:44 +0200
  Re: Examples for gforth's objects.fs Hans Bezemer <the.beez.speaks@gmail.com> - 2025-10-03 17:11 +0200
  Re: Examples for gforth's objects.fs anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2025-10-03 21:15 +0000
    Re: Examples for gforth's objects.fs Gerry Jackson <do-not-use@swldwa.uk> - 2025-10-04 09:05 +0100
      Re: Examples for gforth's objects.fs anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2025-10-04 16:53 +0000
        Re: Examples for gforth's objects.fs Krishna Myneni <krishna.myneni@ccreweb.org> - 2025-10-04 17:04 -0500
          Re: Examples for gforth's objects.fs Krishna Myneni <krishna.myneni@ccreweb.org> - 2025-10-04 20:11 -0500
          Re: Examples for gforth's objects.fs anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2025-10-05 11:19 +0000
            Re: Examples for gforth's objects.fs albert@spenarnc.xs4all.nl - 2025-10-06 10:46 +0200
        Re: Examples for gforth's objects.fs Gerry Jackson <do-not-use@swldwa.uk> - 2025-10-05 11:54 +0100
          Re: Examples for gforth's objects.fs anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2025-10-05 11:56 +0000
          Re: Examples for gforth's objects.fs Hans Bezemer <the.beez.speaks@gmail.com> - 2025-10-05 14:31 +0200
  Re: Examples for gforth's objects.fs Krishna Myneni <krishna.myneni@ccreweb.org> - 2025-10-03 20:21 -0500
  Re: Examples for gforth's objects.fs albert@spenarnc.xs4all.nl - 2025-10-04 15:07 +0200

csiph-web