r/janetlang • u/Abject_Enthusiasm390 • Jul 23 '24
r/janetlang • u/xenow • Apr 25 '20
Puny GUI ā A tiny cross platform GUI Kit in Janet
r/janetlang • u/Veqq • Sep 19 '26
varray - typed arrays for 2-3 magnitude faster operations
r/janetlang • u/Mental_Bumblebee7029 • 14d ago
pg_scalpel: a Janet interpreter in a live PostgreSQL backend
r/janetlang • u/Veqq • Jul 12 '25
How do you Idiomatically Make/Fill Nested Tables?
Clojure has assoc-in and CL's fset has with.
I implemented assoc-in:
(defn assoc-in [m ks v]
(if (empty? ks)
v
(let [k (first ks)
nested (or (get m k) @{})]
(put m k (assoc-in nested (slice ks 1) v)))))which can be used like:
(var t (table))
(assoc-in t [:a :b :c :d] "e")Then I learned put-in exists with the same semantics!
r/janetlang • u/Veqq • Jul 28 '25
Most Janet Discussion Happens on this Zulip
r/janetlang • u/Feisty_Bike_9614 • Jul 23 '26
Janet in rust ?
Has anyone embedded Janet in rust ? Iām working on a prototype and would be interested in hearing your experience.
r/janetlang • u/xenow • Apr 15 '20
r/janetlang Lounge
A place for members of r/janetlang to chat with each other
r/janetlang • u/swlkrV2 • Feb 05 '21
Osprey is a sinatra inspired framework for writing web applications in janet quickly
r/janetlang • u/[deleted] • Oct 25 '20
Macros in Modules
Hello, I have come across an issue where I have a module containing some macros some of which call each other. The problem is when using these macros in another file where the module is imported with a prefix, it tries to find the other macros without the prefix and thus fails. I guess that makes sense since it is writing this code into my other file, however, it is kind of annoying if you want to define macros in some module.
Does anybody know of a good solution for this problem? My current solution is to import the module without a prefix but it feels a little fragile and makes me lose a good feature.
r/janetlang • u/swlkrV2 • Sep 24 '20