[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]

/vt/ - Virtual Youtubers

Search:


View post   

>> No.74796743 [View]
File: 621 KB, 652x618, jelly_tongue.png [View same] [iqdb] [saucenao] [google]
74796743

>> No.73305118 [View]
File: 621 KB, 652x618, jelly_tongue.png [View same] [iqdb] [saucenao] [google]
73305118

>>73298189
I was thinking about how to add a few features and I realized that conditional jumps are more limited than I thought.
Originally, a conditional would skip one instruction if the guard didn't pass the check, but that means that to avoid executing the "else branch" the instruction immediately after the guard has to be a jump.
I simplified it so that conditionals take a label to jump to if the condition is true, saving one operation which can be costly depending on the implementation.
I realized that either approaches are bad when I was designing a way to create reusable subroutines ("function calls"): the plan is to allow "free text labels" which do not count as LBL instructions and therefore do not require taking a fixed label number, so that it can be possible to include a generic piece of code inside multiple projects without having to manually edit its label every time. The problem is that if this piece of code has some conditionals, those labels end up being registered in the "global" space, meaning that if two routines do "EQL 0" then the program will inevitably have a bug.
There are various ways to fix this, the easiest one is to allow textual labels for all control flows (there is enough space to duplicate all of them in 5 bits, eventually) and make it similar to actual assembly.
I'm looking for feedback on how to proceed; this implementation is going to go further away from "pure" AWA5.0 which is something that might stink for some people, but the ultimate goal, the apotheosis, is to make a solitaire game in AWA5 and have Jelly play it, so if I have to make these changes to the fundamental nature of the language I'll take it. This place seems to be the only one actively interested in the language, anyway, so we're free to do anything.
Apologies for the wall of text.

>> No.72374105 [View]
File: 621 KB, 652x618, jelly_tongue.png [View same] [iqdb] [saucenao] [google]
72374105

>what is /pcgia/?
/pcgia/ is a thread for Phase Connect’s Second Generation and Invaders.

▼Phase Connect Links
Official Website:
https://phase-connect.com/
Official Schedule:
https://schedule.phase-connect.com/
Official Twitter:
https://twitter.com/PhaseConnect
Official Character References:
https://pastebin.com/RP5DxAmi
Unofficial Phase Connect Archives:
https://pastebin.com/qAsMRhBa
––––––––––––––––––––––––––––––––––
▼Kaneko Lumi 金子瑠美 (EN)
Twitter: https://twitter.com/kaneko_lumi
Youtube: https://www.youtube.com/KanekoLumi
Twitch: https://www.twitch.tv/kanekolumi
Twitch Archive: https://www.youtube.com/@lumikaneko
▼Fuura Yuri ふうら百合 (EN) [†]
Archive: https://www.youtube.com/@TheNationalFuuraYuriArchive/playlists
▼Dizzy Dokuro 髑髏ディズィー (EN)
Twitter: https://twitter.com/dizzydokuro
YouTube: https://www.youtube.com/@dizzydokuro
Twitch: https://www.twitch.tv/dizzydokuro
▼Jelly Hoshiumi 星海ジェリー (EN)
Twitter: https://twitter.com/jellyhoshiumi
YouTube: https://www.youtube.com/@jellyhoshiumi
Twitch: https://www.twitch.tv/jellyhoshiumi
▼Ember Amane 天音エンバー (EN)
Twitter: https://twitter.com/emberamane
YouTube: https://www.youtube.com/@EmberAmane
Twitch: https://www.twitch.tv/emberamane
––––––––––––––––––––––––––––––––––
▼Remilia Nephys レミリア・ネフィス (EN)
Twitter: https://twitter.com/Remilia_Nephys
Youtube: https://www.youtube.com/RemiliaNephys
Twitch: https://www.twitch.tv/remilianephys
▼Chisaka Airi 千坂 アイリ (EN)
Twitter: https://twitter.com/ChisakaAiri
Youtube: https://www.youtube.com/ChisakaAiri
Twitch: https://www.twitch.tv/chisakaairi
Twitch Archive: https://www.youtube.com/@chisakairiVOD
▼Amanogawa Shiina 天ノ川 しいな (EN)
Twitter: https://twitter.com/AmanogawaShiina
Youtube: https://www.youtube.com/AmanogawaShiina
Twitch: https://www.twitch.tv/amanogawashiina
Twitch Archive: https://www.youtube.com/@shiinaofficialvodarchive3158
▼Himemiya Rie 姫宮りえ (EN)
Twitter: https://twitter.com/HimemiyaRie
Youtube: https://www.youtube.com/HimemiyaRie
Twitch: https://www.twitch.tv/himemiyarie
Twitch Archive: https://www.youtube.com/@HimesBasement
▼Erina Makina エリナ・マキナ (EN)
Twitter: https://twitter.com/ErinaMakina
Youtube: https://www.youtube.com/ErinaMakina
Twitch: https://www.twitch.tv/erinamakina
▼Komachi Panko 小町まんこ (EN)
Twitter: https://twitter.com/komachipanko
Youtube: https://www.youtube.com/KomachiPanko
Twitch: https://www.twitch.tv/komachipanko
Twitch Archive: https://www.youtube.com/@pankostreehouse3283

▼Phase Friends
/pcg/ >>>/vt//pcg/
Lia from Phase Connect
Prism >>>/vt//ppg+/
Ex-Tsunderia >>>/vt//tsunx/
Sayu Sincronisity >>>/vt//ss/
VReverie Extended >>>/vt//vrex/
Kawaii >>>/vt//pkg/
Idol Corp >>>/vt//jidf/
Other Small Corpos >>>/vt//corpo/
Yubicraft >>>/vt//ybc/

Thread Template:
https://pastebin.com/gqRdGM9A

Previous Thread: >>72333229

Navigation
View posts[+24][+48][+96]