#slanglang — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #slanglang, aggregated by home.social.
-
From memzero:
// Skip to the correct 4-byte routine below (and fallthrough from there)
IP = IP + ( ( N_byte_count ~ 3 ) *^ 2 )
[[ 3 bytes remain ]]
WBR zero P IP
:2 2
[[ 2 bytes remain ]]
WBR zero P IP
:2 1
[[ 1 bytes remain ]]
WBR zero P IP
:2 0
[[ 0 bytes remain ]]
-(Tabs required to view)
I think it's a pretty interesting way to deal with this problem. Depending on how many bytes remain, add a value to the Instruction Pointer. -
I had to adjust the #SlangLang compiler for this. It's an annoying side effect of the "reverse" stack, but I'd say it is worth it.
-
I created a syntax highlighting config for my programming language Slang, for GNOME 's GTKSourceView :D
This will make working on my videogame much more comfortable I think 😊
https://gitlab.com/golemwire/subsky/-/blob/master/OTHER/slang.lang?ref_type=heads (XML warning)
#LossyPNG (an @rl_dane hashtag lol. I had changed the DPI in #SwayCompositor so I could capture larger screenshots, and I think my NVidia driver might be breaking the Wayland xdg-output protocol, so its scaled funny)
#SubSky #SlangLang #programmingLanguage #gamedev -
I created a syntax highlighting config for my programming language Slang, for GNOME 's GTKSourceView :D
This will make working on my videogame much more comfortable I think 😊
https://gitlab.com/golemwire/subsky/-/blob/master/OTHER/slang.lang?ref_type=heads (XML warning)
#LossyPNG (an @rl_dane hashtag lol. I had changed the DPI in #SwayCompositor so I could capture larger screenshots, and I think my NVidia driver might be breaking the Wayland xdg-output protocol, so its scaled funny)
#SubSky #SlangLang #programmingLanguage #gamedev -
I created a syntax highlighting config for my programming language Slang, for GNOME 's GTKSourceView :D
This will make working on my videogame much more comfortable I think 😊
https://gitlab.com/golemwire/subsky/-/blob/master/OTHER/slang.lang?ref_type=heads (XML warning)
#LossyPNG (an @rl_dane hashtag lol. I had changed the DPI in #SwayCompositor so I could capture larger screenshots, and I think my NVidia driver might be breaking the Wayland xdg-output protocol, so its scaled funny)
#SubSky #SlangLang #programmingLanguage #gamedev -
I created a syntax highlighting config for my programming language Slang, for GNOME 's GTKSourceView :D
This will make working on my videogame much more comfortable I think 😊
https://gitlab.com/golemwire/subsky/-/blob/master/OTHER/slang.lang?ref_type=heads (XML warning)
#LossyPNG (an @rl_dane hashtag lol. I had changed the DPI in #SwayCompositor so I could capture larger screenshots, and I think my NVidia driver might be breaking the Wayland xdg-output protocol, so its scaled funny)
#SubSky #SlangLang #programmingLanguage #gamedev -
Introducing SubSky, a new 32-bit CPU #ISA and computing environment intending to be the most amount of power you can get from the least amount of computer.
It provides you with a virtual #CPU with 16 instructions (few but versatile!), and a novel low-level #programmingLanguage between C and #assembly called Slang.
The project supplies a small set of virtual peripherals and a minimal yet useful stdlib.
Check it out!
-
Introducing SubSky, a new 32-bit CPU #ISA and computing environment intending to be the most amount of power you can get from the least amount of computer.
It provides you with a virtual #CPU with 16 instructions (few but versatile!), and a novel low-level #programmingLanguage between C and #assembly called Slang.
The project supplies a small set of virtual peripherals and a minimal yet useful stdlib.
Check it out!
-
Introducing SubSky, a new 32-bit CPU #ISA and computing environment intending to be the most amount of power you can get from the least amount of computer.
It provides you with a virtual #CPU with 16 instructions (few but versatile!), and a novel low-level #programmingLanguage between C and #assembly called Slang.
The project supplies a small set of virtual peripherals and a minimal yet useful stdlib.
Check it out!
-
Introducing SubSky, a new 32-bit CPU #ISA and computing environment intending to be the most amount of power you can get from the least amount of computer.
It provides you with a virtual #CPU with 16 instructions (few but versatile!), and a novel low-level #programmingLanguage between C and #assembly called Slang.
The project supplies a small set of virtual peripherals and a minimal yet useful stdlib.
Check it out!