Git Product home page Git Product logo

albertvanderhorst / ciforth Goto Github PK

View Code? Open in Web Editor NEW
56.0 56.0 7.0 20.24 MB

A generic system for creating i86 implementations of the language Forth.

Home Page: https://forth.hcc.nl/producten/ciforth.html

License: GNU General Public License v2.0

Makefile 4.66% Forth 68.68% M4 7.29% C 1.31% Assembly 8.65% HTML 7.15% Batchfile 0.32% Shell 1.15% Roff 0.78%
compilers forth intel interpreter scripter

ciforth's People

Contributors

albertvanderhorst avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ciforth's Issues

-i option no longer works in 5.4.0 lina

The -i option no longer works in lina 5.4.0.
This is due to trailing spaces in the file name, a cleverness in behalf of the deb archives.

Work around:
To fix the executable lina do

l```
ina
BLOCK-FILE $@ -TRAILING BLOCK-FILE $!
WANT SAVE-SYSTEM
"lina" SAVE-SYSTEM
BYE

Wina options not available outside of the location folder

I don't know if I have overlooked something, but I am not able to use the starting options for wina, except my working directory is the folder where all of the wina files are.

I downloaded the prebuild release of wina64-5.5.0 and unpacked it. I actually have a .tools folder in my path; so I installed wina64 like descriped in the READMEwina.txt with wina64 -i ~.tools\wina64.exe ~.tools\forth.lab %COMSPEC%.
When I run wina from any other folder then wina's home directory, I get an error code 8:
tools\wina64.exe" -n ? ciforth ERROR # 8 // as full error message

Is this normal behavior? Is there a solution to fix this and use every option everwhere?
I don't want to have to jump to wina home directory and use an absolue path to a file I want to compile.

Thanks for any help!

Defect in BAG wordset

With respect to release 5.3.0

The BAG wordset uses the new DATA word instead of CREATE.
This is however still combined with DOES>.

Work arounds:

  1. Remove the word DOES> from screen 90 in the source library forth.lab.
    or
  2. Redefine BAG immediately after loading the bag wordset with WANT BAG
    : BAG DATA HERE CELL+ , CELLS ALLOT ;

Error compiling ciforth lina

Error compiling ciforth lina

I downloaded ciforth lina from https://github.com/albertvanderhorst/ciforth

Unzip. Then:

ciforth-master$ make all
cat lina32.cfg VERSION nasm.m4 ci86.gnr | m4 -G ciforth.m4 - > /tmp/ciforthscratch
m4:postlude.m4:148: cannot open `namescooked.m4': No such file or directory
Makefile:273: recipe for target 'ci86.lina32.asm' failed
make: *** [ci86.lina32.asm] Error 1

Video walk through of building lina or other versions using ciforth, porting strategy

This is all fascinating. I stumbled on this while looking at https://github.com/albertvanderhorst/ciasdis/blob/master/README.assembler

ciasdis. I found this through a post on stack overflow where you commented on an answer to a question where ciasdis was the recommended tool.

Given the age of some of the software, a refresher on a newer debian/ubuntu system would be fantastic, walking through the premise for the build, installing any dependencies (tex or others), and how to verify the binary against test data. It's well documented, but I ran into issues building on Ubuntu 22.04.

Additional area that will be of value:

  • porting strategy for a new platform theoretical or real (M series mac, risc-v linux , etc..)
  • strategies as you describe in your web page
  • how you apply this for your ai research

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.