ctypes.sh
pdd.sh
ctypes.sh | pdd.sh | |
---|---|---|
8 | 3 | |
2,018 | 23 | |
- | - | |
5.2 | 7.9 | |
6 months ago | about 1 month ago | |
C | Shell | |
MIT License | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ctypes.sh
- ctypes.sh: A foreign function interface for bash (2023)
- Ctypes.sh: A foreign function interface for bash
- Writing a Minecraft server from scratch in Bash (2022)
- A foreign function interface for bash
-
Goto in Bash
It's a funny trick, but you could probably also use setjmp and longjmp with ctypes.sh :-)
https://github.com/taviso/ctypes.sh
- Ctypes.h: A foreign function interface for bash
-
Shared Libraries as Executables
rundll32.exe is just a way of doing FFI from as a command -- there are few different options on UNIX-likr systems for that. The most obvious is ctypes.sh [0].
There are, though, even more sophisticated options than just FFI, like the Witchcraft Compiler Collection [1], which includes among other things an interactive shell.
[0] https://github.com/taviso/ctypes.sh
[1] https://github.com/endrazine/wcc
pdd.sh
- Writing a Minecraft server from scratch in Bash (2022)
-
Why exactly RISC-V is little endian?
github.com/bkw777/dlplus is the part that emulates the drive. It acts like a server listening on a serial port.To test it, you'd need a client, which is normally a TRS-80 Model 100 running TS-DOS, but if you don't have one of those, then github.com/bkw777/pdd.sh is a client implemented in pure bash, which you can run on anything. It's still going to be a bit annoying hardware wise since you still need serial ports and a null-modem cable. Two generic usb-serial adapters and a null-model adapter works, as long as the cable includes the rts/cts and dsr/dtr lines, either real or at least looped-back at the connectors.
- Witchcraft – a Minecraft server, written in Bash
What are some alternatives?
Cython - The most widely used Python to C compiler
MounT - Mount an MCU board on a "Model T" computer
Lua - Lua is a powerful, efficient, lightweight, embeddable scripting language. It supports procedural programming, object-oriented programming, functional programming, data-driven programming, and data description.
irc-sh - pure bash irc client
cppimport - Import C++ files directly from Python!
xmpp-echo-bot - XMPP/Jabber echo bot (written in sed)
nelson - The Nelson Programming Language
Hajime - An advanced startup system for Minecraft servers.
V8 - The official mirror of the V8 Git repository
lzb - LZB: LZ77 data compression and other utilities in pure Bash language
libffi - A portable foreign-function interface library.
JavaCPP - The missing bridge between Java and native C++