First blog post
This commit is contained in:
27
blog-post-1.md
Normal file
27
blog-post-1.md
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
# Spider Programming Language
|
||||||
|
|
||||||
|
Spider is a lightweight scripting language designed to be simple to build,
|
||||||
|
easy to embed, and straightforward to learn.
|
||||||
|
|
||||||
|
## Why Spider?
|
||||||
|
|
||||||
|
Most modern scripting languages have become increasingly complex over time.
|
||||||
|
Spider was created to solve three main problems:
|
||||||
|
|
||||||
|
- **Hard to embed:** Languages like Lua have verbose APIs and JavaScript
|
||||||
|
interpreters are massive projects that take hours to compile.
|
||||||
|
- **Poor interoperability:** Python and Lua make it complicated to communicate
|
||||||
|
between the script and the host application.
|
||||||
|
- **Outdated syntax:** Spider aims for a clean, modern syntax without
|
||||||
|
requiring keywords like `end` or relying on indentation for structure.
|
||||||
|
|
||||||
|
## How it works
|
||||||
|
|
||||||
|
Spider compiles down to bytecode that runs on the Spider Virtual Machine (VM).
|
||||||
|
The VM is written in C and can be compiled with a single Makefile, making it
|
||||||
|
easy to port to any platform, including microcontrollers like the ATmega328p.
|
||||||
|
|
||||||
|
## Current Status
|
||||||
|
|
||||||
|
Currently in early development. The VM architecture, instruction set,
|
||||||
|
register table, and calling convention have been defined and are being tested.
|
||||||
Reference in New Issue
Block a user