{"id":16665356,"url":"https://github.com/larsbrinkhoff/xforth","last_synced_at":"2025-03-17T00:31:24.568Z","repository":{"id":53494714,"uuid":"98861886","full_name":"larsbrinkhoff/xForth","owner":"larsbrinkhoff","description":"Experimental Forth cross compiler for tiny devices","archived":false,"fork":false,"pushed_at":"2021-04-30T22:15:30.000Z","size":13476,"stargazers_count":63,"open_issues_count":32,"forks_count":14,"subscribers_count":18,"default_branch":"master","last_synced_at":"2025-02-27T15:19:44.231Z","etag":null,"topics":["8051","assembler","avr","compiler","cortex-m","cross-compile","cross-compiler","embedded","forth","microcontroller","msp430","pic","stm8"],"latest_commit_sha":null,"homepage":"","language":"Forth","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/larsbrinkhoff.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-31T07:40:09.000Z","updated_at":"2024-12-30T16:22:59.000Z","dependencies_parsed_at":"2022-08-18T07:51:26.594Z","dependency_job_id":null,"html_url":"https://github.com/larsbrinkhoff/xForth","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/larsbrinkhoff%2FxForth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/larsbrinkhoff%2FxForth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/larsbrinkhoff%2FxForth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/larsbrinkhoff%2FxForth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/larsbrinkhoff","download_url":"https://codeload.github.com/larsbrinkhoff/xForth/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243835951,"owners_count":20355611,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["8051","assembler","avr","compiler","cortex-m","cross-compile","cross-compiler","embedded","forth","microcontroller","msp430","pic","stm8"],"created_at":"2024-10-12T11:06:51.893Z","updated_at":"2025-03-17T00:31:24.280Z","avatar_url":"https://github.com/larsbrinkhoff.png","language":"Forth","readme":"# lbForth Lite\n\nThis is a Forth cross compiler for tiny devices.  It's based on\n[lbForth](http://github.com/larsbrinkhoff/lbForth).  Supported targets\nare 8051, AVR, Cortex-M, MSP430, PIC, and STM8.  There's also support\nfor some classic machines: 6502 and PDP-8.\n\nThis is a temporary battleground to get things up and running.  I\nexpect to fold the finished result back into lbForth.\n\nThe targets are tested using these simulators: naken_asm, uCsim,\nsimulavr, gpsim, simh, and thumbulator.  The status of the tests is:\n[![Test](https://travis-ci.org/larsbrinkhoff/xForth.svg?branch=master)](https://travis-ci.org/larsbrinkhoff/xForth)\n\nThe compiler is suitable for parts with 1K program memory and 64 bytes\nRAM.  The kernel code occupies 100-500 bytes, and it's recommended to\nreserve about 24 bytes for the stacks.  At this size, only a bare\nminimum of Forth words are supported.  All targets come with a prefix\nassembler with its own unique syntax.\n\nThere is no resident interpreter or compiler in the target.  Things\nare set up to provide target interaction through tethered operation,\nbut it's not implemented yet.  For now, the output is a flat binary\nfile.  ELF or Intel hex format can be made available on request.\n\nThe assemblers, compiler, and kernel are written in Forth and are all\nvery simple.  The user is encouraged to make modifications as see fit.\n\n### Manual\n\n[See here](doc/manual.md).\n\n### Glossary \n \nCompile-time words:\n\n    : ; [ ] CONSTANT VARIABLE CODE END-CODE\n    ['] [CHAR] LITERAL\n    IF THEN ELSE AHEAD BEGIN AGAIN UNTIL WHILE REPEAT\n\nRun-time words:\n\n    COLD WARM\n    ! C! @ C@ +!\n    DROP NIP DUP ?DUP SWAP OVER\n    \u003eR R\u003e R@\n    + - 2* 2/ INVERT NEGATE AND OR XOR 1+ 1- CELL+\n    0= 0\u003c 0\u003c\u003e = \u003c\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flarsbrinkhoff%2Fxforth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flarsbrinkhoff%2Fxforth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flarsbrinkhoff%2Fxforth/lists"}