43 karma · joined Mar 5, 2020 (6y ago) · 32 submissions
comment 1y ago · link · parent
[0] https://github.com/dockur/windows?tab=readme-ov-file#is-this...
comment 1y ago · link · parent
Otherwise looking at the code this feels like something that could be a short bash script wrapped in a electron app.
comment 3y ago · link · parent
As it compiles to C, any microcontroller with a compiler that supports something that looks like C can work. I've run Carp code on a GBA (as mentionned somewhere else in the comments), esp32, esp8266, as well as Arduboy & Pygamer via Arduino.
There is some more information about running Carp on embedded platforms in the docs[0].
One last thing I wanted to mention is that Carp is still very much in flux so it might not be the best choice for longterm projects, but if you're interested in playing with the language there is usually always someone to answer questions on the Gitter[1].
[0] https://github.com/carp-lang/Carp/blob/master/docs/Embedded....
[1] https://app.gitter.im/#/room/#eriksvedang_Carp:gitter.im
comment 3y ago · link · parent
Source: I contribute to the language.
comment 3y ago · link · parent
Here is an, admitedly not very clean, example that grabs stream urls from hltv.org:
https://github.com/TimDeve/.dotfiles/blob/master/scripts/gen...
Also a basic RSS reader using the clojure XML lib:
https://github.com/TimDeve/.dotfiles/blob/master/scripts/gen...
comment 4y ago · link · parent
curl article-url | readable | w3m -T text/html
Where readable is https://www.npmjs.com/package/readability-clicomment 5y ago · link · parent
You can also annotate function with a type signature.
(sig add (Fn [Int Int] Int))
(defn add [x y] (+ x y))
Is the same as: (defn add [x y] (the Int (+ (the Int x) (the Int y))))comment 5y ago · link · parent
I definitely recommend Aseprite for pixel art, it's really good.
comment 5y ago · link · parent
Doesn't mean it doesn't perform well, currently writing a GBA game: https://github.com/TimDeve/radicorn
comment 6y ago · link · parent
It's very pre-v1 though so expect breakage and API change.
[1] https://github.com/TimDeve/dino/blob/master/main.carp
[2] https://github.com/TimDeve/carpgamer/blob/master/main.carp
[3] https://github.com/TimDeve/carp-lang-arduino/blob/master/mai...
[4] https://github.com/TimDeve/koi/blob/master/examples/notes-js...
comment 6y ago · link · parent
I wanted offline reading though so I ended up rolling my own [1], it's a bit rough and I don't really need the offline thing since I'm at home most of the time but I still use it out of habit.