Shop OBEX P1 Docs P2 Docs Learn Events
SPINFORTH might be on GITHUB — Parallax Forums

SPINFORTH might be on GITHUB

prof_brainoprof_braino Posts: 4,313
edited 2015-04-22 14:39 in Propeller 1
Some folks asked about the version of forth constructed from spin tokens. SPINFORTH was Sal's first forth for the prop, and uses spin tokens. It turned out to go in a different direction than Sal's needs, but its still interesting. The google code repository has been exported to github.

https://github.com/prof-braino/spinforth

Take it out for a spin, and see where it takes you. Cheers!

Propforth is the continuation of this project, and will be exported to github shortly.

Comments

  • Heater.Heater. Posts: 21,230
    edited 2015-04-20 21:11
    There is no code in the repo. only a wiki.
  • prof_brainoprof_braino Posts: 4,313
    edited 2015-04-21 07:52
    Thanks for pointing that out. It seems the EXPORT to Github button only moves the wiki. The code is still visible in http://code.google.com/p/spinforth/downloads/list

    I guess I'm doing something other than expected. Anyone know how to get the downloads page into github?
  • prof_brainoprof_braino Posts: 4,313
    edited 2015-04-21 08:02
    OK, I think I got it. I downloaded all the source files from google code [ downloads ] to my PC, and uploaded them into the google code [ source ] tab, and re-did the export.

    I should get an email today telling me if it worked or not.
  • Heater.Heater. Posts: 21,230
    edited 2015-04-21 08:32
    That is not the way to do it. That leaves all the change history behind.

    Surely the "Export to github" button on the page you linked to above does the job.
  • DavidZemonDavidZemon Posts: 2,973
    edited 2015-04-21 09:10
    David Betz did the move for propgcc. If he doesn't show up soon, maybe send him a PM?
  • prof_brainoprof_braino Posts: 4,313
    edited 2015-04-21 12:59
    Heater. wrote: »
    That is not the way to do it. That leaves all the change history behind.

    Surely the "Export to github" button on the page you linked to above does the job.

    The "Export to github" button on the page is what created the result you saw. It only took the wiki pages, it did not touch the downloads pages, which contain the zip archive of the enitre source, and the individual source files listed in the google code downloads section.

    The thing that is different is that likely the export expects source only under the source tab, which we didn't do, as that wasn't how we we working at the time.

    It looks like I have to "un-export" the project, and arrange things how the tool requires, and re-do the export. The instructions say:

    ' If you need to "un-move" a project, you can go back to the /adminAdvanced page at a later time and click "Publish". This will restore your project to its original state, before the move. '

    Unfortunately, I find no "Publish" to click. This may be too big a PITA spend time on.
  • prof_brainoprof_braino Posts: 4,313
    edited 2015-04-21 16:30
    OK, I figured out how to remove the old attempt (renamed it) and re-exported the google code to github.

    The source files and archive are now in the source section, and are displayed, the wiki pages are in the wiki subdirectory.

    Please give this a look if you are considering a tool that uses spin byte codes.
  • Heater.Heater. Posts: 21,230
    edited 2015-04-22 00:12
    You can always delete repos in github. No need to rename them to get them out of the way.

    Don't forget to add README.md and LICENCE.md files.

    You should not have zip files in the repo. There is a download zip button on the page already.

    That is some horrific assembler in NewForth.spin !
  • davidsaundersdavidsaunders Posts: 1,559
    edited 2015-04-22 05:47
    I am a bit curious on this one, I may have to download it to learn the SPIN byte codes, at least.

    Is there any further reference to the SPIN bytcodes (other than in the verrious alternitive SPINcompilers, SPIN interpreters, and the original SPIN interpreter)?
  • prof_brainoprof_braino Posts: 4,313
    edited 2015-04-22 07:06
    I am a bit curious on this one, I may have to download it to learn the SPIN byte codes, at least.

    Is there any further reference to the SPIN bytcodes (other than in the verrious alternitive SPINcompilers, SPIN interpreters, and the original SPIN interpreter)?

    A while back there was a thread where folks decoded the spin interpreter, and chip confirmed and corrected bits until we got a complete picture. But all that was over my head, I didn't join in until the hard parts were done.
  • yetiyeti Posts: 818
    edited 2015-04-22 07:21
    Spinix has a Spin byte code assembler...

    --> Getting-started-with-Spinix-Thread
  • prof_brainoprof_braino Posts: 4,313
    edited 2015-04-22 07:23
    Heater. wrote: »
    You can always delete repos in github. No need to rename them to get them out of the way.

    Don't forget to add README.md and LICENCE.md files.

    You should not have zip files in the repo. There is a download zip button on the page already.

    That is some horrific assembler in NewForth.spin !

    The instructions suggested to re-name them to get them out of the way, rather than risk deleting the wrong stuff. Once I figure out what I'm doing I will delete the rejects.

    What is the MD extension on the readme anyway? I always use txt for text files. I'll move the readme and the liscence material into appropriate files in a bit, and use my notes to properly set up propforth5.5 and propforth6.0 repositories. The idea is to have the new archive similar as possible to the original, and this stuff was already setup but different. Aslo I don't want to invest too much time. It see less than 1 download per week, and I don't think anybody has actually asked any questions yet.

    The main thing about spinforth is it demonstrates how re-using the spin byte codes DOESN'T work out so well for other tools. The design desicions that make spin work well tend to hinder forth etc. When we can change the byte codes and the way the processor work (as in FPGA) this becomes interesting again, but the result becomes incompatible with the physical prop 1 chips.

    The assembler is a bit intense, never worked through it. When Sal gets going, he really gets going; and he determined this would not meet his needs and moved on. But it might provideperspectives for other folks that have other needs.
  • DavidZemonDavidZemon Posts: 2,973
    edited 2015-04-22 07:49
    What is the MD extension on the readme anyway? I always use txt for text files.

    MD is Markdown. I think it's a great way to write simple documentation and, in fact, I've written all of PropWare's custom documentation with it. "Markdown is a text-to-HTML conversion tool for web writers." The idea is that HTML is a bit tedious for a human to read, so markdown was created as an alternative with a tiny subset of the features. It's meant to be equally legible in it's raw form and in it's displayed HTML form. Here's a great place to play around with it and learn the syntax.
  • Heater.Heater. Posts: 21,230
    edited 2015-04-22 14:39
    So what you are saying is that this a repository of a discontinued project?

    Markdown is a text file. Same like HTML or early word processor formats like WordStar. Just an easy way to make simple documents.
Sign In or Register to comment.