Ahoy Forth programmers! I have made a book about porting Forth
to an esoteric target platform known as a SUBLEQ machine (this one
is a 16-bit twos compliment version), which is a single instruction
machine. The resulting Forth is surprisingly usable despite the complete dearth of
instructions, and it is self-hosting, it can generate new eForth
images.
The book, called "SUBLEQ EFORTH: Forth Metacompilation for a SUBLEQ Machine", is
available here:
* <https://www.amazon.com/SUBLEQ-EFORTH-Forth-Metacompilation-Machine-ebook/dp/B0B5VZWXPL>.
The original project is available here:
* <https://github.com/howerj/subleq>.
Along with the image source code and a virtual machine written in C, but
to save you from installing anything the system can be tested in your
browser at:
* <https://howerj.github.io/subleq.htm>.
The project is not meant generate a Forth that can be used for general programming but it does show that Forth can be ported to nearly anywhere
and shows you how you can build up a meta-compiler/cross compiler to assist in
porting.
For those unfamiliar with the SUBLEQ instruction the Wikipedia article
on One Instruction Set Computers is informative and is available at <https://en.wikipedia.org/wiki/One-instruction_set_computer#Subtract_and_branch_if_less_than_or_equal_to_zero>,
as is the Esoteric Languages pages at <https://esolangs.org/wiki/Subleq>. In short the instruction stands for "Subtract And Branch If Less Than Or
Equal To Zero", and is Turing complete, all operators from multiplication
to the bitwise operators are implemented with this single instruction.
Have fun! It's not meant to be too serious.
On Thursday, 21 July 2022 at 20:28:07 UTC+1, Richard Howe wrote:
Ahoy Forth programmers! I have made a book about porting Forth
to an esoteric target platform known as a SUBLEQ machine (this one
is a 16-bit twos compliment version), which is a single instruction machine. The resulting Forth is surprisingly usable despite the complete dearth of
instructions, and it is self-hosting, it can generate new eForth
images.
The book, called "SUBLEQ EFORTH: Forth Metacompilation for a SUBLEQ Machine", is
available here:
* <https://www.amazon.com/SUBLEQ-EFORTH-Forth-Metacompilation-Machine-ebook/dp/B0B5VZWXPL>.
The original project is available here:
* <https://github.com/howerj/subleq>.
Along with the image source code and a virtual machine written in C, but
to save you from installing anything the system can be tested in your browser at:
* <https://howerj.github.io/subleq.htm>.
The project is not meant generate a Forth that can be used for general programming but it does show that Forth can be ported to nearly anywhere and shows you how you can build up a meta-compiler/cross compiler to assist in
porting.
For those unfamiliar with the SUBLEQ instruction the Wikipedia article
on One Instruction Set Computers is informative and is available at <https://en.wikipedia.org/wiki/One-instruction_set_computer#Subtract_and_branch_if_less_than_or_equal_to_zero>,
as is the Esoteric Languages pages at <https://esolangs.org/wiki/Subleq>. In
short the instruction stands for "Subtract And Branch If Less Than Or
Equal To Zero", and is Turing complete, all operators from multiplication to the bitwise operators are implemented with this single instruction.
Have fun! It's not meant to be too serious.Let's add another a few more important links in this context
- and how I started with the Ultimate RISC many many years ago https://homepage.cs.uiowa.edu/~jones/arch/risc/
Last year I could convince Steve to implement it :
Steve Teal did a complete project last year:
the one Instruction Processor in VHDL
he adapted an eForth as well,
and I have it running here as well on a Trenz FPGA board.
You find it all on his github account under eForth MISC 16: https://github.com/Steve-Teal/eforth-misc16
And by the way,
a similar version had been implemented as ASIC about 25 years ago, manufactures by AMS in Austria
then running Assembler;
and Bernd Paysan adapted a Forth to the VHDL version running in a Lattice CPLD then,
it took just a long weekend as he stated.
On Thursday, 21 July 2022 at 20:57:51 UTC+1, Jurgen Pitaske wrote:
On Thursday, 21 July 2022 at 20:28:07 UTC+1, Richard Howe wrote:
Ahoy Forth programmers! I have made a book about porting Forth
to an esoteric target platform known as a SUBLEQ machine (this one
is a 16-bit twos compliment version), which is a single instruction machine. The resulting Forth is surprisingly usable despite the complete dearth of
instructions, and it is self-hosting, it can generate new eForth
images.
The book, called "SUBLEQ EFORTH: Forth Metacompilation for a SUBLEQ Machine", is
available here:
* <https://www.amazon.com/SUBLEQ-EFORTH-Forth-Metacompilation-Machine-ebook/dp/B0B5VZWXPL>.
The original project is available here:
* <https://github.com/howerj/subleq>.
Along with the image source code and a virtual machine written in C, but to save you from installing anything the system can be tested in your browser at:
* <https://howerj.github.io/subleq.htm>.
The project is not meant generate a Forth that can be used for general programming but it does show that Forth can be ported to nearly anywhere and shows you how you can build up a meta-compiler/cross compiler to assist in
porting.
For those unfamiliar with the SUBLEQ instruction the Wikipedia article
on One Instruction Set Computers is informative and is available at <https://en.wikipedia.org/wiki/One-instruction_set_computer#Subtract_and_branch_if_less_than_or_equal_to_zero>,
as is the Esoteric Languages pages at <https://esolangs.org/wiki/Subleq>. In
short the instruction stands for "Subtract And Branch If Less Than Or Equal To Zero", and is Turing complete, all operators from multiplication to the bitwise operators are implemented with this single instruction.
Have fun! It's not meant to be too serious.Let's add another a few more important links in this context
- and how I started with the Ultimate RISC many many years ago https://homepage.cs.uiowa.edu/~jones/arch/risc/
Last year I could convince Steve to implement it :
Steve Teal did a complete project last year:
the one Instruction Processor in VHDL
he adapted an eForth as well,
and I have it running here as well on a Trenz FPGA board.
You find it all on his github account under eForth MISC 16: https://github.com/Steve-Teal/eforth-misc16
And by the way,and the post regarding our MISC16 Project from end of last year https://groups.google.com/g/comp.lang.forth/c/QJu7L6gSEwI
a similar version had been implemented as ASIC about 25 years ago, manufactures by AMS in Austria
then running Assembler;
and Bernd Paysan adapted a Forth to the VHDL version running in a Lattice CPLD then,
it took just a long weekend as he stated.
On Thursday, 21 July 2022 at 21:03:25 UTC+1, Jurgen Pitaske wrote:It's not based on any of them
On Thursday, 21 July 2022 at 20:57:51 UTC+1, Jurgen Pitaske wrote:
On Thursday, 21 July 2022 at 20:28:07 UTC+1, Richard Howe wrote:
Ahoy Forth programmers! I have made a book about porting Forth
to an esoteric target platform known as a SUBLEQ machine (this one
is a 16-bit twos compliment version), which is a single instruction machine. The resulting Forth is surprisingly usable despite the complete dearth of
instructions, and it is self-hosting, it can generate new eForth images.
The book, called "SUBLEQ EFORTH: Forth Metacompilation for a SUBLEQ Machine", is
available here:
* <https://www.amazon.com/SUBLEQ-EFORTH-Forth-Metacompilation-Machine-ebook/dp/B0B5VZWXPL>.
The original project is available here:
* <https://github.com/howerj/subleq>.
Along with the image source code and a virtual machine written in C, but
to save you from installing anything the system can be tested in your browser at:
* <https://howerj.github.io/subleq.htm>.
The project is not meant generate a Forth that can be used for general programming but it does show that Forth can be ported to nearly anywhere
and shows you how you can build up a meta-compiler/cross compiler to assist in
porting.
For those unfamiliar with the SUBLEQ instruction the Wikipedia article on One Instruction Set Computers is informative and is available at <https://en.wikipedia.org/wiki/One-instruction_set_computer#Subtract_and_branch_if_less_than_or_equal_to_zero>,
as is the Esoteric Languages pages at <https://esolangs.org/wiki/Subleq>. In
short the instruction stands for "Subtract And Branch If Less Than Or Equal To Zero", and is Turing complete, all operators from multiplication
to the bitwise operators are implemented with this single instruction.
Have fun! It's not meant to be too serious.Let's add another a few more important links in this context
- and how I started with the Ultimate RISC many many years ago https://homepage.cs.uiowa.edu/~jones/arch/risc/
Last year I could convince Steve to implement it :
Steve Teal did a complete project last year:
the one Instruction Processor in VHDL
he adapted an eForth as well,
and I have it running here as well on a Trenz FPGA board.
You find it all on his github account under eForth MISC 16: https://github.com/Steve-Teal/eforth-misc16
From the documentation I have seen about this new book,And by the way,and the post regarding our MISC16 Project from end of last year https://groups.google.com/g/comp.lang.forth/c/QJu7L6gSEwI
a similar version had been implemented as ASIC about 25 years ago, manufactures by AMS in Austria
then running Assembler;
and Bernd Paysan adapted a Forth to the VHDL version running in a Lattice CPLD then,
it took just a long weekend as he stated.
it is unclear to me, which of Ting's eForths this book is based on http://forth.org/OffeteStore/OffeteStore.html
On Friday, 22 July 2022 at 07:37:06 UTC+1, jpit...@gmail.com wrote:
On Thursday, 21 July 2022 at 21:03:25 UTC+1, Jurgen Pitaske wrote:
On Thursday, 21 July 2022 at 20:57:51 UTC+1, Jurgen Pitaske wrote:
On Thursday, 21 July 2022 at 20:28:07 UTC+1, Richard Howe wrote:
Ahoy Forth programmers! I have made a book about porting Forth
to an esoteric target platform known as a SUBLEQ machine (this one
is a 16-bit twos compliment version), which is a single instruction machine. The resulting Forth is surprisingly usable despite the complete dearth of
instructions, and it is self-hosting, it can generate new eForth images.
The book, called "SUBLEQ EFORTH: Forth Metacompilation for a SUBLEQ Machine", is
available here:
* <https://www.amazon.com/SUBLEQ-EFORTH-Forth-Metacompilation-Machine-ebook/dp/B0B5VZWXPL>.
The original project is available here:
* <https://github.com/howerj/subleq>.
Along with the image source code and a virtual machine written in C, but
to save you from installing anything the system can be tested in your browser at:
* <https://howerj.github.io/subleq.htm>.
The project is not meant generate a Forth that can be used for general
programming but it does show that Forth can be ported to nearly anywhere
and shows you how you can build up a meta-compiler/cross compiler to assist in
porting.
For those unfamiliar with the SUBLEQ instruction the Wikipedia article
on One Instruction Set Computers is informative and is available at <https://en.wikipedia.org/wiki/One-instruction_set_computer#Subtract_and_branch_if_less_than_or_equal_to_zero>,
as is the Esoteric Languages pages at <https://esolangs.org/wiki/Subleq>. In
short the instruction stands for "Subtract And Branch If Less Than Or Equal To Zero", and is Turing complete, all operators from multiplication
to the bitwise operators are implemented with this single instruction.
Have fun! It's not meant to be too serious.Let's add another a few more important links in this context
- and how I started with the Ultimate RISC many many years ago https://homepage.cs.uiowa.edu/~jones/arch/risc/
Last year I could convince Steve to implement it :
Steve Teal did a complete project last year:
the one Instruction Processor in VHDL
he adapted an eForth as well,
and I have it running here as well on a Trenz FPGA board.
You find it all on his github account under eForth MISC 16: https://github.com/Steve-Teal/eforth-misc16
It's not based on any of themFrom the documentation I have seen about this new book,And by the way,and the post regarding our MISC16 Project from end of last year https://groups.google.com/g/comp.lang.forth/c/QJu7L6gSEwI
a similar version had been implemented as ASIC about 25 years ago, manufactures by AMS in Austria
then running Assembler;
and Bernd Paysan adapted a Forth to the VHDL version running in a Lattice CPLD then,
it took just a long weekend as he stated.
it is unclear to me, which of Ting's eForths this book is based on http://forth.org/OffeteStore/OffeteStore.html
The book, called "SUBLEQ EFORTH: Forth Metacompilation for a SUBLEQ
Machine", is available here:
<https://www.amazon.com/.... >
The book, called
"SUBLEQ EFORTH:
Forth Metacompilation for a SUBLEQ Machine", is
available here:
How does eForth get in there then?
Richard Howe <howe....@googlemail.com> writes:I'll see if can cajole Amazon into providing more formats later, I haven't tried to purchase it myself yet, but that's a good point, cheers.
The book, called "SUBLEQ EFORTH: Forth Metacompilation for a SUBLEQ Machine", is available here:
<https://www.amazon.com/.... >
Is the book downloadable in a non-Kindle format? Thanks.
Is the book downloadable in a non-Kindle format? Thanks.I'll see if can cajole Amazon into providing more formats later
Richard Howe <howe....@googlemail.com> writes:
Well part of the idea is to avoid dealing with Amazon, but every littleIs the book downloadable in a non-Kindle format? Thanks.I'll see if can cajole Amazon into providing more formats later
bit helps.
Richard Howe <howe.rj.89@googlemail.com> writes:
Is the book downloadable in a non-Kindle format? Thanks.I'll see if can cajole Amazon into providing more formats later
Well part of the idea is to avoid dealing with Amazon, but every little
bit helps.
On 24/07/2022 11:26, Paul Rubin wrote:
Richard Howe <howe....@googlemail.com> writes:
Is the book downloadable in a non-Kindle format? Thanks.I'll see if can cajole Amazon into providing more formats later
Well part of the idea is to avoid dealing with Amazon, but every littleEvery little bit helped send Bezos and Shatner into space. How is
bit helps.
the realization of their fantasy not a goal worthy of your support?
Nobody asks whether workers on the Pyramids were given time for a
piss. Labour is an ever-renewable resource.
Every little bit helped send Bezos and Shatner into space.
Many here rather want to keep Forth a secret it seems.
I sometimes wonder, if this is for reasons of imprtance.
If there are less people, the relative importance goes up.
Many here rather want to keep Forth a secret it seems.
I sometimes wonder, if this is for reasons of imprtance.
If there are less people, the relative importance goes up.
Rather hard to believe it.
So many fine compilers given away — and even with documented
assembler listing — that such plea doesn't sound credible. Especially
when a term „many” is used.
In contrast, look at the Arduino IDE or others
and what is done using them in the Maker scene.
The 50 year old Forth community has not done anything similar.
And it seems adding libraries is a NONO.
So it is a completely different community.
But there we are.
Richard Howe <howe....@googlemail.com> writes:I couldn't see anything that would allow different formats unfortunately, but I did get the hardcover option working.
Well part of the idea is to avoid dealing with Amazon, but every littleIs the book downloadable in a non-Kindle format? Thanks.I'll see if can cajole Amazon into providing more formats later
bit helps.
I couldn't see anything that would allow different formats
unfortunately, but I did get the hardcover option working.
On Saturday, 30 July 2022 at 08:28:02 UTC+1, Jurgen Pitaske wrote:
On Saturday, 30 July 2022 at 02:06:34 UTC+1, Paul Rubin wrote:
Richard Howe <howe....@googlemail.com> writes:Richard, keep up the good work.
I couldn't see anything that would allow different formats unfortunately, but I did get the hardcover option working.Why does Amazon have to be in the picture at all? Can you just put up a pdf, or offer it for sale, or whatever?
You did whatever you liked and found useful.
And you are visible now in the amazon Bestseller list https://www.amazon.com/best-sellers-books-Amazon/zgbs/books/3970/ref=zg_bs_pg_2?_encoding=UTF8&pg=2
Today on place 62 ( it changes)
Congratulations.
If people do not appreciiate your work
and hesitate to buy the ebook even - using the free reader
- or do not want to invest the 10 Dollars and scan it in to have the PDF they want -
they are not really interested anyway. Or want it all for free.
If it is free , the value of your work is a lot less appreciated.
I went through a similar process and now after 10 years, there is a list of books available on amazon.
Covering Forth, other fun stuff and translation work. https://www.amazon.co.uk/Juergen-Pintaske/e/B00N8HVEZM.
Thanks for making your book available to the Forth community.and here as well the link to your github, as there is a lot of free information anyway.
https://github.com/howerj/subleq
Richard Howe <howe....@googlemail.com> writes:
I couldn't see anything that would allow different formatsWhy does Amazon have to be in the picture at all? Can you just put up a
unfortunately, but I did get the hardcover option working.
pdf, or offer it for sale, or whatever?
On Saturday, 30 July 2022 at 02:06:34 UTC+1, Paul Rubin wrote:
Richard Howe <howe....@googlemail.com> writes:Richard, keep up the good work.
I couldn't see anything that would allow different formatsWhy does Amazon have to be in the picture at all? Can you just put up a pdf, or offer it for sale, or whatever?
unfortunately, but I did get the hardcover option working.
You did whatever you liked and found useful.
And you are visible now in the amazon Bestseller list https://www.amazon.com/best-sellers-books-Amazon/zgbs/books/3970/ref=zg_bs_pg_2?_encoding=UTF8&pg=2
Today on place 62 ( it changes)
Congratulations.
If people do not appreciiate your work
and hesitate to buy the ebook even - using the free reader
- or do not want to invest the 10 Dollars and scan it in to have the PDF they want -
they are not really interested anyway. Or want it all for free.
If it is free , the value of your work is a lot less appreciated.
I went through a similar process and now after 10 years, there is a list of books available on amazon.
Covering Forth, other fun stuff and translation work. https://www.amazon.co.uk/Juergen-Pintaske/e/B00N8HVEZM.
Thanks for making your book available to the Forth community.
On Saturday, 30 July 2022 at 02:06:34 UTC+1, Paul Rubin wrote:
Richard Howe <howe....@googlemail.com> writes:Richard, keep up the good work.
I couldn't see anything that would allow different formatsWhy does Amazon have to be in the picture at all? Can you just put up a pdf, or offer it for sale, or whatever?
unfortunately, but I did get the hardcover option working.
You did whatever you liked and found useful.
And you are visible now in the amazon Bestseller list https://www.amazon.com/best-sellers-books-Amazon/zgbs/books/3970/ref=zg_bs_pg_2?_encoding=UTF8&pg=2
Today on place 62 ( it changes)
Congratulations.
If people do not appreciiate your work
and hesitate to buy the ebook even - using the free reader
- or do not want to invest the 10 Dollars and scan it in to have the PDF they want -
they are not really interested anyway. Or want it all for free.
If it is free , the value of your work is a lot less appreciated.
I went through a similar process and now after 10 years, there is a list of books available on amazon.
Covering Forth, other fun stuff and translation work. https://www.amazon.co.uk/Juergen-Pintaske/e/B00N8HVEZM.
Thanks for making your book available to the Forth community.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 300 |
Nodes: | 16 (2 / 14) |
Uptime: | 40:30:07 |
Calls: | 6,708 |
Calls today: | 1 |
Files: | 12,243 |
Messages: | 5,353,727 |