Bookmarks
Tag cloud
Picture wall
Daily
RSS Feed
  • RSS Feed
  • Daily Feed
  • Weekly Feed
  • Monthly Feed
Filters

Links per page

  • 20 links
  • 50 links
  • 100 links

Filters

Untagged links
11 results tagged interpreter  ✕   ✕
John-Robbins/tbp https://github.com/John-Robbins/tbp
Wed 18 Sep 2024 01:44:07 PM PDT archive.org

Tiny BASIC in Python (tbp) is an implementation of the Tiny BASIC language first proposed by Dennis Allison in response to Bill Gate's "An Open Letter to Hobbyists." In 1976, Dr. Tom Pittman developed his version of Tiny BASIC, which was one of many developed at that time. Where the original Tiny BASIC fit into 4K of memory, tbp is, ahem, a LOT larger, but does have a full debugger, linter, and runs on macOS, Linux, and Windows. So, pull up your bell bottom jeans, slap an 8-track tape into the stereo, and see what it was like for your grandparents when they programmed computers. Let's get groovy with the good vibes!

Supports all 12 statements and the two functions of the original, including USR. Supports all 26 variables, A - Z. Supports loading and saving programs to/from disk. Has a built-in linter and debugger.

The project notes are fascinating: https://john-robbins.github.io/tbp/project-notes

python basic interpreter languages projects
ofabel/mp-flipper https://github.com/ofabel/mp-flipper
Tue 10 Sep 2024 08:24:14 PM PDT archive.org

A MicroPython port for the famous Flipper Zero. No need to learn C: Use your favorite programming language to create apps, games and scripts. .py files are copied onto the Flipper Zero's microSD card. Adding Python support to the Flipper Zero platform was only possible by rigorously sorting out unnecessary language features. I didn't know it was possible to sift even more stuff out of Python to make an embedded version, but so far the list of what they removed makes sense. Be careful with external Micropython modules, though.

Support for basic language constructs like functions, classes, loops, and so forth. Access the Flipper’s hardware: buttons, speaker, LED, GPIO, ADC, PWM, etc. No custom firmware required so no risk of bricking your Flipper.

API documentation: https://ofabel.github.io/mp-flipper/reference.html

micropython application interpreter embedded hacking
mkicjn/paraforth https://github.com/mkicjn/paraforth
Wed 03 Jul 2024 10:41:12 AM PDT archive.org

A sub-1KB, self-hosting, native code Forth without compromise

At the core of paraforth is a very small assembly program - just an association list of names to subroutines, and an input loop for invoking them. By pre-populating the list with just enough functionality to build a macro assembler, a self-extensible language kernel is born.

This project is a long-running exercise in building the smallest self-sufficient Forth possible, without ANY sacrifices in speed or usability. No inputting pre-assembled machine code at runtime, and no cobbling together logic operations from NAND.

The entire language, save for just 15 words and 756 bytes of machine code, is implemented in itself - legibly - and builds in place on startup. Additionally, support for full bootstrapping coming soon.

languages forth assembly tiny interpreter compiler x86_64
Python Multithreading without GIL https://github.com/colesbury/nogil
Fri 25 Feb 2022 03:49:45 PM PST archive.org

This is a proof-of-concept implementation of CPython that supports multithreading without the global interpreter lock (GIL). An overview of the design is described in the Python Multithreading without GIL Google doc.

The proof-of-concept works best on Linux x86-64. It also builds on Linux ARM64, Windows (64-bit), and macOS, but you will have to recompile extension modules yourself for these platforms. The build process has not changed from upstream CPython.

The proof-of-concept comes with a modified bundled "pip" that includes an alternative package index. The alternative package index includes C extensions that are either slow to build from source or require some modifications for compatibility.

The GIL is disabled by default, but if you wish, you can enable it at runtime using the environment variable PYTHONGIL=1. You can use the existing Python APIs, such as the threading module and the ThreadPoolExecutor class.

Still maintained and under development - tracks v3.9.x!

AUR: https://aur.archlinux.org/packages/nogil-python

python language interpreter experiment
richpl/PyBasic https://github.com/richpl/PyBasic
Fri 22 Oct 2021 05:14:57 PM PDT archive.org

A simple interactive BASIC interpreter written in Python 3. It is based heavily on material in the excellent book Writing Interpreters and Compilers for the Raspberry Pi Using Python by Anthony J. Dos Reis. However, I have had to adapt the Python interpreter presented in the book, both to work with the BASIC programming language and to produce an interactive command line interface. The interpreter therefore adopts the key techniques for interpreter and compiler writing, the use of a lexical analysis stage followed by a recursive descent parser which implements the context free grammar representing the target programming language.

The interpreter is a homage to the home computers of the early 1980s, and when executed, presents an interactive prompt ('>') typical of such a home computer. Commands to run, list, save and load BASIC programs can be entered at the prompt as well as program statements themselves.

The BASIC dialect that has been implemented is slightly simplified, and naturally avoids machine specific instructions, such as those concerned with sound and graphics for example.

python basic interpreter languages programming
GitHub - paladin-t/my_basic: Lightweight BASIC interpreter written in standard C in dual files. Aimed to be embeddable, extendable and portable. https://github.com/paladin-t/my_basic
Wed 25 Sep 2019 03:26:49 PM PDT archive.org

A lightweight BASIC interpreter written in standard C. It's aimed to be embeddable, extendable and portable. It is a dynamic typed programming language, reserves structured syntax, supports a style of prototype-based programming (OOP), also implements a functional paradigm by lambda abstraction. The core is written in a C source file and an associated header file. It's easy to either use it as a standalone interpreter or embed it with existing projects.

A version of it is embedded in WWIV these days.

language basic interpreter tiny embedded
Writing An Interpreter In Go | Thorsten Ball https://interpreterbook.com/
Fri 01 Mar 2019 10:45:57 AM PST archive.org

In this book we will create a programming language together.

We'll start with 0 lines of code and end up with a fully working interpreter for the Monkey* programming language.

Step by step. From tokens to output. All code shown and included. Fully tested.

textbook buy programming golang languages interpreter howto
theinternetftw/xyppy: Infocom's Z-Machine in Python https://github.com/theinternetftw/xyppy
Mon 08 Oct 2018 11:47:08 AM PDT archive.org

A Zcode interpreter written in Python. Plays Inform games (up to v7). Give it an Infocom game and it'll run it. I suspect that it can be included in or called from other code.

exocortex bot infocom textadventures python interpreter
IPython documentation http://ipython.org/ipython-doc/
Tue 20 Mar 2018 12:49:12 AM PDT archive.org

A shell which acts as a better interactive Python interpreter than the standard Python environment. iPython is designed more for experimentation and playing with ideas prior to implementation than it is for actually developing code. It also supports being embedded in other software for the purpose of extensibility. It even makes it easy to prototype and test GUIs written in Python.

development shell python interpreter hacking software repl interactive
parapente/PiFi · GitHub https://github.com/parapente/PiFi
Tue 20 Mar 2018 12:36:19 AM PDT archive.org

PiFi is a Zcode interpreter written in Python. Great for playing your favorite Infocom games.

python zcode interpreter if software
Rezrov: an Infocom game interpreter in Perl http://edmonson.paunix.org/rezrov/
Mon 19 Mar 2018 06:33:52 PM PDT archive.org

Just what it says on the tin. Implements Z-code with cheat commands so you can play Infocom games on whatever system you have Perl installed on. Supports multiple front-end interfaces.

zcode infocom perl games interpreter interactivefiction software
6420 links, including 414 private
Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Theme by kalvn