yeah its a nice feature to have! A good compromise between C style switch and overly complex pattern matching. I decided to try it after reading journal.stuffwithstuff.com/2011/01/16/p...
Posts by Etienne Pouvreau
I know that feeling ! The difference between designing the language and actually using it is wild.
"its going to be so nice and convenient"
vs
"wait how am i expected to do X again ?"
bsky.app/profile/smol...
Interesting take, CMake is indeed a weird thing. It's scary at first, but when it works it "just" works... never stopped being confusing to me tho. I don't even know what to think about the documentation at this point, StackOverflow has been much more helpful for me.
Not a lot of visually interesting things going on atm (for now). Regardless, here's an update: every pixel on this gif was drawn through my own scripting language !
Re-writing nemo-lang with a stack vm is really paying off, integration is going SO smoothy this time !
#gamedev #programming
a snapshot of the code for the gif.
Making my own engine's api for my own language is actually really fun!
what the code looks like:
Not a lot of visually interesting things going on atm (for now). Regardless, here's an update: every pixel on this gif was drawn through my own scripting language !
Re-writing nemo-lang with a stack vm is really paying off, integration is going SO smoothy this time !
#gamedev #programming
Quick favour to ask - this looks like it might have been delisted as it's not showing up in new or in search results for me - would anyone be able to search for it on itch and let me know if it shows in either for you?
Title is Strip 2048
he has a big brother: fish4ktex.gif
#b3d
bsky.app/profile/smol...
Kinsplant is a online asynchronous game of hide and seek made for GBJam10.
The server has been down for a few months but I've popped it back online now.
awkwardsilencegames.itch.io/kinsplant
Long time no post ! I attempted the recent 7drl jam using my scripting language, and the compiler blew up in my face, so i decided to re-write the whole language. That's what I've been up to this past month... π§΅
("alt": gif of how far i got in the jam project)
PS: the code shots are all weird because i couldn't find a pretty code tool with options for custom syntax, and no language matches mine exactly...
There's some more in there that I could talk about, both feature and implementation wise... Overall, It's the most complex and fascinating programming project I've ever tackled.
Its crazy I managed to write 2 compilers in 3 month in C... Anyway, I'll gladly answer anyone's questions.
a snippet showing how nemo's "puts" built-in function can be used to print or interpolate / concatenate strings, as well as the different rng functions.
some built-ins:
'puts' statement prints expressions, separated by semi-colons or commas. Semi-colons insert a new line.
Used as an expression, puts returns an interpolated string.
Nemo also has a built-in random number generator (using @mattiasg.bsky.social 's rnd.h library).
demonstration of the := value assignment operator, in record objects
demo of the slices syntax. It looks like: [ start : end ] where start and end are, if omitted, respectively index 0 and last index.
Heap container objects (arrays and records) are assigned by reference using '=', and by value when using ':='.
Arrays and string support slicing. A slice from first to last element is effectively a copy.
a series of functions returning arrays and records. this snippet also shows arrays initialization.
Arrays and records can be returned from functions.
Arrays can be initialized with or without values.
cheap infinite recursion goes brrrr
the separation of exit and return allowed me to implement TCO very easily ! return followed by a function call ? that's a tail call !
en.wikipedia.org/wiki/Tail_call
nemo functions, declared with "def ... end", showing void and typed functions, as well as a single block typed function.
Nemo functions are statically typed. Inside functions that don't return anything (void functions), the 'exit' keyword must be used to stop the execution early. Using exit is not allowed in typed functions. 'return' must always be followed by an expression. Nemo has closures.
A chain of conditional blocks, using if elif else, closed by an 'end' token. There's also a single statement if statement, using nemo's arrow syntax.
a match statement, demonstrating pattern matching
a classic while loop, with continue and break
a lengthy demo of nemo's for loop. showing the possible syntax, with or without iterator, default iteration step
Control flow and loop primitives:
- if - elif - else - end
- while and for loops (numeric bounded loop)
- match case (pattern matching)
- ternary expression
code snippet showing the different nemo types, with the exception of functions
It features lexical scoping, first class functions, optional semi-colons and 0 base indexing.
Supported types are: null, num (numbers), strings, functions, arrays and records (structs).
a snippet of nemo code, implementing the rule110 one dimensional cellular automaton
the code output
Now that I'm finally done re-implementing its previous features (and more!) here is a little tour of nemo lang.
It's an imperative and procedural high level scripting language. Nemo is dynamically typed at its core, with optional type contracts and statically typed functions.
Long time no post ! I attempted the recent 7drl jam using my scripting language, and the compiler blew up in my face, so i decided to re-write the whole language. That's what I've been up to this past month... π§΅
("alt": gif of how far i got in the jam project)
DLSS 2000 on
Hi everyone!
I've organized a jam for artists to celebrate 30 years of Tamagotchi!
The goal is to create lots of little digital monsters inspired by the famous virtual pet.
If you like the idea, you can find all the info here π
itch.io/jam/30-years...
Announcing CASTLE AWAY! In which you build and command a flying fortress to slay the demons invading your world!
A quick-to-pick-up, run-based strategy game focused on crafting combat synergies on your little castle grid.
Let me know what you think!
#indiegame #gamedev #roguelite
JOULE THIEF is out!
You can play it here: ghettobastler.itch.io/joule-thief
The cart is also available on the Lexaloffle BBS: www.lexaloffle.com/bbs/?tid=155...
I hope you enjoy playing it as much as I did making it!
#pico8 #gamedev
i didn't want to work on my main project for a little bit so i made this dumb shit and now ive released it so that you can play it if you also don't want to work on your main project
not-jam.itch.io/aqua-somethi...
Text set in a grunge-style, blocky pixel font. It reads: "A pixel font by Not Jam THE QUICK BROWN FOX JUMPS OVER A LAZY DOG. sphinx of black quartz, judge my vow. .ttf format CC0 licence". It's set in a bright green on a dark blue-green background.
Text set in a monospace, double width sans-serif pixel font. It reads: "A pixel font by Not Jam THE QUICK BROWN FOX JUMPS OVER A LAZY DOG. sphinx of black quartz, judge my vow. .ttf format CC0 licence". It's set in a bright green on a dark blue-green background.
Text set in a blackletter pixel font. It reads: "A pixel font by Not Jam THE QUICK BROWN FOX JUMPS OVER A LAZY DOG. sphinx of black quartz, judge my vow. .ttf format CC0 licence". It's set in a bright green on a dark blue-green background.
Text set in an old-style serif font pixel font. It reads: "A pixel font by Not Jam THE QUICK BROWN FOX JUMPS OVER A LAZY DOG. sphinx of black quartz, judge my vow. .ttf format CC0 licence". It's set in a bright green on a dark blue-green background.
free cc0 fonts for your collection no strings attached but if you want to tell me I'm cool that's alright I guess
-> not-jam.itch.io/not-jam-font...
π10S FOREVER / OWCH FALL SALEπ
new followers, all 6 of my games (including the pictured 10S FOREVER) are bundled on itch for $4.20 this week
consider buy them to support your local (spiritually speaking) broke ass game maker
~10SF also available for full price on steam!~
itch.io/s/181244/fal...