Commit graph

  • 7f01ff1d89 WIP: micropython ports micro-port Russ Olsen 2020-12-18 15:07:09 -0500
  • 480f6df6a5 Add timing words, improve keyword display. master Russ Olsen 2020-06-17 13:58:24 -0400
  • 47554de9f4 Break up basic_words a bit,add documentation to both native and sallyforth words. Russ Olsen 2020-06-12 08:36:24 -0400
  • 960e4b0033 Add namespaces, fix parser bugs, add compile to python back in. Russ Olsen 2020-06-04 07:59:18 -0400
  • 66a4e271d8 Cleanup. Russ Olsen 2020-05-22 15:08:43 -0400
  • 6273bdfde7 Test dot-split. Russ Olsen 2020-05-22 15:08:07 -0400
  • 53fcafb4f1 Add proxy methods for functions to Vars. Russ Olsen 2020-05-22 15:07:40 -0400
  • 4c03ea5388 Handle short circuit boolean operators correctly. Russ Olsen 2020-05-22 15:06:58 -0400
  • 6c67d2350f Replace Ref with smarter Vars. Russ Olsen 2020-05-22 15:06:26 -0400
  • a1669f996c Clean up argument names, debug printing. Russ Olsen 2020-05-15 14:13:08 -0400
  • 3fb272156c Add support for #foo.bar form back in. Add support for inlining words. Very WIP work on expanding words to their Python code and expanding that code in inlined words. Russ Olsen 2020-05-15 14:03:03 -0400
  • 5cdae26aeb Sync docs up with new code. Russ Olsen 2020-05-11 12:56:39 -0400
  • 9bad7b958f Added nativeword word, which wraps a native function as a forth word. Russ Olsen 2020-05-11 12:55:15 -0400
  • 9e9573b3dd Fairly complete rewrite of VM. Now supports composite words with { w1 w2...}. Rewrote :, if, ifelse and while to use composite words. Namespaces now have Clojure like vars for indirection and also support inline words. Words defined in Python now use Python function decorators to add Sallyforth related metadata. Russ Olsen 2020-05-09 10:47:47 -0400
  • ed5ccfd261 Formatting fix. Russ Olsen 2020-05-02 11:11:14 -0400
  • ca305ff519 Flesh out the readme a bit more. Russ Olsen 2020-05-02 11:09:12 -0400
  • e488738143 Add :keywords, if-not, begin-while-repeat. Change names of values imported from native python modules from mod1.mod2.value to mod1/mod2/value. Russ Olsen 2020-05-02 10:45:07 -0400
  • 4473e149c3 Added :keywords, Token class. Russ Olsen 2020-05-02 10:43:29 -0400
  • a956438aec Clean up forth eval/execute, make repl more forth driven. Russ Olsen 2020-05-01 08:06:08 -0400
  • 62acb4ab95 Removed unused lex module. Russ Olsen 2020-04-30 02:23:24 -0400
  • 16d9bdf352 Rationalize namespaces by adding entries. Add readtoken which has different behavior at compile and runtime. Russ Olsen 2020-04-30 02:14:50 -0400
  • f303b00345 Reorganize python word impls, switch tokenizer to a stream approach. Russ Olsen 2020-04-29 14:16:54 -0400
  • 638d50b100 Added #foo.bar macro to mean <. foo 'bar .>, improved stack word output. Russ Olsen 2020-04-25 16:54:45 -0400
  • e1b1c4ee24 Rationalize native code import. Russ Olsen 2020-04-24 09:10:18 -0400
  • a4e2a1997a Clean up attr resolution. Russ Olsen 2020-04-23 09:10:27 -0400
  • 965f78f142 Set *source* during init. Russ Olsen 2020-04-23 09:09:07 -0400
  • f1bdf52b2b Adding reader macros. Turned tokenizer into a class, added list and string word. Russ Olsen 2020-04-22 08:57:14 -0400
  • f10edf9fd7 Added basic namespace support. Russ Olsen 2020-04-21 09:22:25 -0400
  • 8d4375dbf1 Add empty set and map words. Russ Olsen 2020-04-18 18:44:22 -0400
  • 502f120d7b Added builtin alias word, which means we can define most of the built-in words with non-Python comparible names (think . and +) in sallyforth instead of Python. Also added backslash comments and stack reset work. Russ Olsen 2020-04-18 12:12:10 -0400
  • 97c3aa1fff Switched the word function xface so that words now return the new ip instead of a delta. This simplifies the interpreter allows recur to simply return 0. Also changed the tokenizer so that 'foo produces a string w/o the need for a closing quote, good for symbols. Russ Olsen 2020-04-18 10:22:25 -0400
  • 0f63796331 General cleanup, use single quotes in Python, added single quoted strings to SallyForth. Russ Olsen 2020-04-17 13:44:18 -0400
  • 8785b97f03 Reorganize code to make it a bit more modular. Russ Olsen 2020-04-17 13:42:41 -0400
  • 6925755432 Added better support for calling native code, added readline history, else to ifs. Russ Olsen 2020-04-17 08:56:06 -0400
  • d5e5885b0b README.md Russ Olsen 2020-04-16 09:07:08 -0400
  • c5c8cdfff2 Added start up file execution, configurable prompt. Russ Olsen 2020-04-16 09:03:08 -0400
  • 4886e2de2a Renamed process functions to execute, added file execution, vars. Russ Olsen 2020-04-16 09:02:36 -0400
  • c74f666a19 Added (comments) Russ Olsen 2020-04-16 09:01:50 -0400
  • f8ceb9b3a3 Fix formatting. Russ Olsen 2020-04-14 12:45:46 -0400
  • 2a9ea9548f Initial checkin. Russ Olsen 2020-04-14 12:44:37 -0400
  • 3e48c372dc
    Initial commit russolsen 2020-04-14 12:06:48 -0400