AlanaStdLib v0.2
Standard library
A small bag of runtime libraries that ships with the official Alana download. HTTP, JSON, and an error object. The beginning of a kitchen, not the whole house.
Source: github.com/Daegatoya/AlanaStdLib. It grows next to the language. I will keep adding things. I already said I would not add a sandwich.
including
including opens a packed-in library.
This is not import.
import invites another .alana file of yours.
including opens mine.
including "stdlib/http.alana"; including "stdlib/json.alana"; including "stdlib/error.alana";
What she ships today
HTTP
Get, Post, and a Response to unwrap.
JSON
Serialize any value into a string with feelings.
Error
No methods. Just something worth throwing.
Keywords may change. This is truly just the beginning of it.
Stay aware for future updates — I will keep growing the bag.
Full walkthrough: HTTP, JSON & errors.