Skip to content

Commit

Permalink
Merge branch 'main' of github.com:cstrainge/sorth
Browse files Browse the repository at this point in the history
  • Loading branch information
cstrainge committed Aug 22, 2024
2 parents 428ce29 + edc212f commit af1ada7
Show file tree
Hide file tree
Showing 6 changed files with 925 additions and 442 deletions.
11 changes: 6 additions & 5 deletions package
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,12 @@ function bundle

rm -rf ./strange-forth/bin/*

bundle ./package-bin/sorth-macos-13-arm64 ./strange-forth/bin/arm64/darwin/
bundle ./package-bin/sorth-macos-13-x86_64 ./strange-forth/bin/x64/darwin/
bundle ./package-bin/sorth-ubuntu-latest-arm64 ./strange-forth/bin/arm64/linux/
bundle ./package-bin/sorth-ubuntu-latest-x86_64 ./strange-forth/bin/x64/linux/
bundle ./package-bin/sorth-windows-x86_64.exe ./strange-forth/bin/x64/win32/ ".exe"
bundle ./package-bin/sorth-aarch64-apple-darwin ./strange-forth/bin/arm64/darwin/
bundle ./package-bin/sorth-x86_64-apple-darwin ./strange-forth/bin/x64/darwin/
bundle ./package-bin/sorth-arm-unknown-linux-gnu ./strange-forth/bin/arm64/linux/
bundle ./package-bin/sorth-x86_64-unknown-linux-gnu ./strange-forth/bin/x64/linux/
bundle ./package-bin/sorth-x86_64-pc-windows-msvc.exe ./strange-forth/bin/x64/win32/ ".exe"


pushd strange-forth

Expand Down
4 changes: 2 additions & 2 deletions src/builtin_words.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1922,11 +1922,11 @@ namespace sorth
// Words for creating new bytecode.
ADD_NATIVE_WORD(interpreter, "op.def_variable", word_op_def_variable,
"Insert this instruction into the byte stream.",
" -- ");
"new-name -- ");

ADD_NATIVE_WORD(interpreter, "op.def_constant", word_op_def_constant,
"Insert this instruction into the byte stream.",
"value -- ");
"new-name -- ");

ADD_NATIVE_WORD(interpreter, "op.read_variable", word_op_read_variable,
"Insert this instruction into the byte stream.",
Expand Down
8 changes: 8 additions & 0 deletions strange-forth/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@ Also, there is a [Wiki!](https://github.com/cstrainge/sorth/wiki) where we go ov

MacOS or Linux, (currently only tested with Ubuntu,) on x86-64 and Arm64

### 0.1.9

Some minor fixes.

### 0.1.8

Test packaging.

### 0.1.7

Windows support up to par. Also added a wiki to the project to help describe the language.
Expand Down
Loading

0 comments on commit af1ada7

Please sign in to comment.