All Projects → BookOwl → scratching-forth

BookOwl / scratching-forth

Licence: other
A compiler from Forth to Scratch

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to scratching-forth

Express Mongodb Rest Api Boilerplate
A boilerplate for Node.js apps / Rest API / Authentication from scratch - express, mongodb (mongoose).
Stars: ✭ 153 (+705.26%)
Mutual labels:  scratch
scratux
A simple project that aims to provide Free/Libre Open Source Linux binaries of Scratch Desktop
Stars: ✭ 88 (+363.16%)
Mutual labels:  scratch
coro-scratch
A Scratch to Python transpiler that makes extensive use of coroutines
Stars: ✭ 22 (+15.79%)
Mutual labels:  scratch
Phosphorus
JavaScript compiler for Scratch projects.
Stars: ✭ 250 (+1215.79%)
Mutual labels:  scratch
apostilas
Apostilas sobre diversos assuntos: PHP, PDO, MySQL, PHPOO, MVC, mobile, scratch, git, github, docker, vps, alpine linux, segurança na wev, servidores, etc
Stars: ✭ 49 (+157.89%)
Mutual labels:  scratch
Meower-Vanilla
Official source code for the Scratch-based Meower client.
Stars: ✭ 24 (+26.32%)
Mutual labels:  scratch
Pixie
Unofficial rewrite of Scratch in JavaScript.
Stars: ✭ 123 (+547.37%)
Mutual labels:  scratch
openblock-desktop
Graphic programming software for hardware like: arduino, microbit, esp32, esp8266...
Stars: ✭ 161 (+747.37%)
Mutual labels:  scratch
codes-scratch-zookeeper-netty
zk + netty 实现集群节点文件同步服务
Stars: ✭ 29 (+52.63%)
Mutual labels:  scratch
Lang-app
Add a multi lang configuration to your WEB APP 'from scratch' [ANY FRAMEWORK, ANY PLUGIN, ANY API]
Stars: ✭ 15 (-21.05%)
Mutual labels:  scratch
web-app-from-scratch
Supporting material for my blog post series on writing a web application from scratch in Python.
Stars: ✭ 128 (+573.68%)
Mutual labels:  scratch
s3onegpio
Scratch 3 Extensions For Arduino, Circuit Playground Express, ESP-8266, Picoboard and Raspberry Pi
Stars: ✭ 68 (+257.89%)
Mutual labels:  scratch
Gratch
Block-style programming environment for tackling graph structure and graph algorithm, based on MIT Scratch.
Stars: ✭ 15 (-21.05%)
Mutual labels:  scratch
Blocklike
Bridging the gap between block programming and JavaScript.
Stars: ✭ 177 (+831.58%)
Mutual labels:  scratch
scratch-LN
https://scratch4d.github.io/scratch-LN/
Stars: ✭ 19 (+0%)
Mutual labels:  scratch
Scratchaddons
All-in-one browser extension for Scratch.
Stars: ✭ 133 (+600%)
Mutual labels:  scratch
Pyonkee
Pyonkee is a visual-programming environment for iPad. It is based on Scratch from the MIT Media Lab.
Stars: ✭ 80 (+321.05%)
Mutual labels:  scratch
ScratchRadio
Educational software for use with the LimeSDR platform
Stars: ✭ 64 (+236.84%)
Mutual labels:  scratch
go-docker
Sample code and dockerfiles accompanying the blog post The Ultimate Guide to Writing Dockerfiles for Go Web-apps
Stars: ✭ 89 (+368.42%)
Mutual labels:  scratch
LiteGui
Immediate Mode GUI From Scratch
Stars: ✭ 15 (-21.05%)
Mutual labels:  scratch

Scratching Forth

The elegance of Forth, with the awesomeness of Scratch


What is Scratching Forth?

Scratching Forth is a compiler from Forth to Scratch .sb2 files. It is written in Python, and released under the MIT license.

How to install

  1. Make sure you have Python 3.5 installed.
  2. Clone this repo to your computer with git clone https://github.com/BookOwl/scratching-forth

How to run

Cd into the cloned repo, and run python3 main.py source.fs. To see all the options, run python3 main.py -h

I found a bug or I have a great idea!

Great! Please make an issue with your bug report or suggestion. PRs are welcomed.

What words does Scratching Forth support?

Scratching Forth currently support the following words:

  • /
  • DUP
  • DROP
  • MOD
  • /MOD
  • SWAP
  • ROT
  • OVER
  • .
  • CR
  • =
  • IF ... [ELSE ...] THEN
  • <
  • 0=
  • 0>
  • 0<
  • AND
  • OR
  • 1+
  • 1-
  • 2+
  • 2-
  • 2*
  • 2/
  • ABS
  • NEGATE
  • MIN
  • MAX

Scratching Forth does not have support for the return stack (yet).

License

The MIT License (MIT) Copyright (c) 2016 Matthew (@BookOwl)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].