#🍐 Jonk Stuff

1 messages Β· Page 4 of 1

tall patio
#

what if a make a chip8 emulator in haxe

#

it could be fun

#

im wokring on the instructions

#

(im learning bit manipulation with this xd)

#

wait

#

why im calling execute in the 0x3 instruccion

#

im dumb asf

#

and it doesnt go to the next direction

#

it skips the next direction

#

aaaah

tall patio
#

OMFG

#

THERES A LOT OF OPERATORS USING 0X8 PREFIX

#

im doing thoose later

tall patio
#

i have the 50% of this emulator done?

#

idk

#

hmmm

#

inputs

#

and its done

#

done?!?!?!?!

#

lets seee

#

connecting this to openfl

tall patio
#

hmmmmmmm

#

it works?????

tall patio
#

bugs fixed

#

it was fun

#

lol

tall patio
#

i dont like how toml files works

#

ill be searching for others

#

im using hxmini

#

(matter.ini)

thorny hemlock
tall patio
#

yeaaah

tall patio
#

im making a ecs system in haxeflixel

#

like

#

fuck flxsprite

#

im making my own stuff

#

kinda

#

idk

solar ether
#

I think at one point there was a discussion about potentially switching to ecs in Flixel

tall patio
#

nice

tall patio
#

maybe not

#

idk

tall patio
#

learning abt emulators teached me some things

#

i can do some interesting things with ints

#

im thinking on this format

#
0x01 => ADD
0x100 => We need to get the first number of the hex code, this one is 1, this means the vm will use a constant, not a register
0x001 => Same logic, but now is zero, so is using a register
#

with this i dont need to recicle registers

#

idk if i will apply this ever

#

but that idea will keep in my mind

tall patio
#

it works LOL

#

this is a weird vm

#

no stack

#

no registers

#

hmmm

ashen urchin
#

How fast is this? Cuz I want to download this code

dreamy sphinx
#

thank you webossan

tall patio
#

it was a experiment

#

just use a register based vm

tall patio
tall patio
#

🍐 a

#

this pear looks ugly πŸ˜”

tall patio
#

interesting

#

oh wait nvm, im so dumb

tall patio
#

conductor is done

tall patio
#

peak

tall patio
#

i tried to do things in opengl

#

i forgot how to make things in opengl

#

......

#

i guess its time to re-learn opengl

tall patio
#

for the next week i guess

#

i didnt feel like coding today

tall patio
#

iafkamfd

#

what a annoying instrument

tall patio
#

oh

#

one hour

#

learning how to play this shit

#

no way

tall patio
#

taperfeittaperfeit

tall patio
#

ive been looking to old videos posted here

#

and...

#

oh god

#

the way on how i handled a draw function in a bitmap was horrible

#

πŸ’€

tall patio
#

😭

tall patio
#

1 week without coding

#

hmmm

tall patio
#

i love deno

#

fr

tall patio
#

fuck lime

#

im moving to raw haxe

#

(hxcpp)

#

ok i can use this

tall patio
#

ill be working on this

tall patio
#

nvm, i need to finish a lot of externs

#

simple2d is dead

#

||me gusta macros pls i need cxx2hx, this is painful||

topaz ledge
#

Have you considered writing internal parts of your library in C++ then extern those instead maybe?

#

It has it's pros and cons but it's still an option to avoid externing the entirety of sdl3

tall patio
#

and for sdl3 im just going to make the functions for creating windows and handle gl

tall patio
#

glfw macros done

topaz ledge
#

You could eventually have a generator I guess

tall patio
#

haxe doesnt have short and ushort so im using uint16, and for unsigned char im using uint8, it should be fine

dreamy sphinx
#

wai how do you figure out what types to use :keoiki:

tall patio
#

all the structs are doneee

#

now i can work in functions

#

yaaay

#

😭

#

127 functions

#

hmmm

#

its fine i guess

#

first five yaay (im ignoring vulkan)

ashen urchin
#

Support hl please /hh

#

Hj

tall patio
ashen urchin
#

Look at funkin' view's externs

#

E.g. compare between here and here

GitHub

The fastest running opengl fnf engine in haxe of now - we're optimizing and organizing this frequently and making the codebase exponentially flexible while also making it so you experience ...

GitHub

The fastest running opengl fnf engine in haxe of now - we're optimizing and organizing this frequently and making the codebase exponentially flexible while also making it so you experience ...

#

You can reference from them idc but twist: I learnt them both in a span of 3 days

#

So now I utilize them both for funkin' view

tall patio
#

the answer to my question is no, so im not doing the bindings from zero

ashen urchin
#

Oh no you can still create an hl glfw extern

#

You just have to basically wrap it as a seperate cpp file due to how I work with it

tall patio
#

if i have some time i will make hl bindings

#

but for now i will make just the cpp ones

ashen urchin
#

Thas cool

#

For me I have externs as a tool for my internal shit

#

Funkin' View's chart system and audio system

tall patio
#

i think i have the glfw bindings done

#

i just need to make the callbacks typedefs and is done

#

i should be able to test this

tall patio
#

if you want to use vulkan

#

its your problem

#

in theory

#

its done

#

IT WORKS

#

I HATE HXCPP BUT IT WORKS

#

at least the windows works

#

im testing the callbacks

#

the callbacks doesnt works πŸ˜”

ashen urchin
#

Vulkan and opengl are theoretically the same performance if you just program it improperly but I just don't give a shit

#

I just use opengl/peote-view

tall patio
#

there are some gpus that are specialized in vulkan

#

so vulkan runs faster

#

back to work

#

im just using the linc_glfw method, i just wanna finish this

ashen urchin
tall patio
#

callbacks are working

#

now i must admit that the ai ​​did the functions (except the handlers), if i had done it manually i would still be doing it now

ashen urchin
tall patio
#

for now the glfw bindings are useless bc you need glad for rendering

#

but if someone wants to test it

#

its fine

#

i should make bindings for miniaudio? blobthinkingeyes

#

stb_image has a lot of functions

#

im just making the esentials

#

done

#

its time for making glm bindings

#

im just making matrix and vector classes

#

hmm, tf is this

#

you know what?

#

im making the glad externs

#

im using opengl core 3.3

tall patio
#

prayge

#

WAZAA

#

ITS WORKING

#

i only have 1649 functions

#

hxglad has +5000

#

but in hxglad you cant do trollface

#

maybe imgui bindings?

violet sleet
#

dang you mapped the entire api?

#

i think there's quite a few imgui externs already about

#

jeremy's iirc has an abstraction so it works on cpp and web

tall patio
violet sleet
#

how you figured this stuff out so quick is crazy

#

took me ages 🀣

#

you're awesome dude

tall patio
#

this is usable

#

you can make games using this

#

now im going for audio

#

but first imgui

tall patio
#

maybe not

#

theres a crazy error that i dont know how to fix

#

aaah im sooooooooooo bored

tall patio
#

SDL_Keyboard done

tall patio
#

windows 10 installed

#

lets gooo

tall patio
#

all my sdl bindings are wrong

#

πŸ˜”

#

triangle using my bindings

tall patio
#

github copilot is making the things a lot easier

#

SDL_Pixels.hx done

dreamy sphinx
#

dont fall into the ai trap tooo alieniki alieniki

tall patio
#

im not making +10000 functions by hand 😭

tall patio
#

sixseven

tall patio
#

im giving up with sdl3

#

a lot of stuff

tall patio
#

fuck haxe, im making my own stuff

#

in haxe

#

im supporting typing

tall patio
#

how i should handle getters and setters

#

hmmmm

#

and i still dont know how im supposed to handle classes

tall patio
#

now i can read the ast properly

ashen urchin
#

How fast is it?

tall patio
#

idk, i cant make any kind of test rn

tall patio
#

my question now is, how tf im supposed to support typing

#

hmmmmmm

#

first im doing classes

#

string and String are supposed to be different things

#

the same logic applies to int and Int, float and Float, boolean and Boolean, etc

tall patio
#

its kinda slow

tall patio
#

function expression

#

return expression returns return

tall patio
#

i think i need to redo all the class system

tall patio
#

i have constructors

#

and static variables

#

kinda

#

i guess its time to make typing

#

hmmm

#

typing works

#

wow

#

thats all for today

#

im making a simple ast walker because in some situations a bytecode interpreter is slower than a ast walker

#

and in the situations when the ast walker is slower the difference is so small that sometimes it doesnt matter

#

this is my progress

#

jang from jonk lang

#

xd

#

i dont have functions

#

i dont have loops

#

i dont have conditionals

small vigil
tall patio
#

hoy aΓ±ado eso, es facil de hacer

#

me enfoque en crear un std propio, tuve esa espina clavada al hacer ruleparsers

tall patio
#

i h a t e t h e s u n

tall patio
#

I HATE THE SUN

tall patio
#

byebyesun

#

ok, ill be working in functions

#

functions done

#

but it works i guess

#

i dont have idea how i will handle for loops

#

oh im dumb

#

the prints are the slow thing

#

real time without prints

#

thats kinda fast

#

func renamed to callable

#

mirror temple b side

#

that is a good song

#

jang is now a haxelib

#

you can call functions from haxe now

#

if statements done

#

while*

tall patio
#

ihateschool

tall patio
#

ive refactored everything

#

so i can include error messages now

#

nah if it works it works

#

making a better ast viewer

#

thats all for today

#

today progress:

  • error messages
  • refactored code
  • new ast viewer
#

tomorrow i will work in

  • if statements
  • custom classes
#

and inheterance

#

with inheterance i could finally work in iterators and for loops

#

a iterator will be a class

#

thats all

#

:3

tall patio
#

cmon brain i need this, this project is kinda pointless

tall patio
#

if statements are working

#

wait

#

i dont have arrays and basic objects

#

oh my

#

im so dumb

#

how i could forget about those primitives

#
#

thanks youtube

tall patio
#

VACATIONS

#

YAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAY

tall patio
#

i dont wanna code today

#

i found a bug in while loops

#

idk why but haxe isnt telling me where the bug is

#

oasjfodafdsjdsf

tall patio
#

i love celeste

tall patio
tall patio
#

so basically what im doing for operators like += or -= was

if (op.contains("=")){
  //logic
}

that logic had problems with operators like != or ==, so i just basically changed it to

if (op == "=" || op == "+=" || op == "-=" || op == "*=" || op == "/=") {
//logic
}
#

fibonacci 10

tall patio
#

you can now access to fields and modify fields in a object

#

but that is super sloowww

#

i guess its because everytime you want to access to a field you are creating a new ObjectInstance that has the getVariable and setVariable, and everytime you want to access or modify a field u are making the instance and modifiyng a map

tall patio
#

i dont have hex numbers in the lexer

#

im so dumb

tall patio
#

you can now do this

tall patio
#

ive made some functions for the std

#

i still love how the errors works
its just a throw

#

basic lexer

small vigil
#

Y como que 300 ms

#

No es muy lento o para tu proc sador seria normal

tall patio
#

y este es el tiempo real

#

demora tanto por el ast viewer

#

que es recursivo

#

algo asi se veria el ast

#

ahora que lo leo...

#

me olvide poner en que linea inicia

#

cual es la posicion inicial

#

y cual es la final

#

maΓ±ana lo hare

#

im still worried about objects

#

they are very slow

#

new commit

#

yaaay

tall patio
#

yaay

#

i should make instances callable?

#

like

let a = new Custom(....);

a() //Its handled by the function __on_call__
tall patio
#

im very happy with jang

#

im not going to implement bytecode, while bytecode is incredibly fast for some things, for complex tasks it can perform as well as an ast walker if you use a stackbased VM, and i dont feel like thinking about compilers right now

#

(im tired of register allocators logic)

tall patio
#

im making the class expressions rn

tall patio
tall patio
#

ok

#

static variables are working

#

aeaeae

#

without ast viewer

#

classes update

#

yaaay

#

its time for...

#

inheritance

tall patio
#

INHERITANCE DONE

#

OMGOGOMGOMG

#

i love jang omg

#

you can even extend with classes that are made in haxe

#

😭

#

ok i feel my life kinda pointless now

small vigil
#

asdjklas

#

niooo

#

dont say that

tall patio
#

wait, i forgot about for loops

tall patio
#

i guess i will make more std classes

#

i dont wanna work in iterators logic 😭

#

oh, and getters and setters

tall patio
#

im changing my import logic

#

from import path.Class

#

to

#
from 'path' import { variable, function, class
small vigil
tall patio
#

o tienes una sugerencia de como lo podria hacer?

tall patio
#

wth

#

discord has that option

#

wow

tall patio
#

should i have enums?

#

yeah why not

#

i would like

#

algebraic data enums

#

like in haxe

#

you can store data in the enums

#

but first im making the import logic

tall patio
#

imports done

#

yaaay

#

you can modify Jang.resolveScript, thats the functions that handles imports

#

this is the placeholder

#

same output

tall patio
#

aaah

#

i wanna make a jang documentation website

#

but my english is so bad

#

ajfkosjgkdfnsmg

#

i will test it with flixel

#

i need to install flixel...

tall patio
#

this is boring

#

aint no way

#

jang typing compatible with haxe lets gooo

#

this will be helpful in the future

#

i can work in classes now i think

#

im pretty happy with this

#

(oh, i dont have implicist cast)

tall patio
#

I HATE TERRARIA

#

IVE KILLED 10 MOTHRONS

#

POST PLANTERRA

#

AND I STILL DONT HAVE THE BROKEN SWORD

#

I ONLY HAVE EYES OF CTHULHU IN MY INVENTORY

#

JVDGHKMDFH KL

small vigil
#

I GOT IT ON THE FIRST TRY
-# My friend took more than 65 attempts, God have mercy on you

small vigil
#

but yeah

#

It was luck

#

And it was my first time

#

i love Terraria

#

It was a such entrainment game

tall patio
#

i will kill moonlord using only true melee weapons

#

im tired

#

holy lmms sucks

tall patio
#

IDFPOIDSJOCXHIJTJFDOKS

#

GDSKGLFDSNG_fdsgdsMLKADMFAS

#

OMGOMGOMGOMOGMOGMOGMOMGOMGOMG

#

YEARS TRYING TO BEAT THIS SONG

#

LITERALLY YEARS

#

FSGJFDGNLKBSDFSA

#

IM GOD

#

THIS IS MY PEAK

tall patio
#

should i support haxe classes in jang?

#

so you just can make a flxsprite

#

I LOVE THAT PET

#

OMG THATS A CUTE TORCH

#

i love the terrablade

#

what a good weapon

tall patio
#

horseman blade

#

finally

#

after 3 pumpkin moons

tall patio
#

i cant believe ive never fighted to duke fishron

#

starlight at my first attemp

#

holy

#

thanks terraria

tall patio
#

back to jang

tall patio
#

pls allow haxe imports

#

thats the setup

tall patio
#

this is my last day as melee in terraria

#

one more pillar

#

and its done

small vigil
# tall patio

Creo en estas ocasiones deberΓ­as considerar tener ShareX con un marci para mostrar el cΓ³digo de manera mΓ‘s bonita

#

Marco*

#

Como solΓ­a tenerlo yo

#

osea digo para que estΓ© algo decorado, no es de ahuevo KSKDS

tall patio
tall patio
small vigil
tall patio
#

ok πŸ˜”

#

BYE MOONLORD

#

BDNAGH DGDJM

#

FIRST TRY

tall patio
#

ZENITH

#

LETS GOO

#

POGVMDKFLHNM

#

ive never played as mage

#

so...

#

its time

tall patio
#

yo...

#

zed is peak

#

but the lsp is really buggy

#

πŸ˜”

tall patio
#

when i finish with jang

#

i will try to make python

#

in haxe

#

using a stack vm

#

[jang is a simple ast walker rn]

tall patio
#

ok...

#

ive been reading

#

rn in jang im doing autobox

#

(javascript way to access fields and methos in primitives)

#

but

#

it seems

#

that in python doesnt do autobox

#

in python

#

EVERYTHING is an object

#

theres no immutable primitives

#

you are making

X = 1

you are making

X = int(1)
#

x zfngbjg

#

and i need to implement functions like __add__ for every primitive

#

DAMN

#

EVEN FUNCTIONS ARE OBJECTS

#

wow python

#

i finish for loops in jang

#

and its done

#

so i can work in python

#

i think the python port in haxe will be a big project

#

so i will make another project post just for it

#

Jonk Stuff is just for silly things that i do here

#

i like talk to myself

tall patio
#

hold on

#

isnt working

#

DKSGNSKGN

#

im so dumb

#

i was ussing the wrong enum

tall patio
#

DAMN I CANT KILL THE BRAIN OF CHUTULLU

#

BEING MAGE

tall patio
#

DAMN

#

THAT WAS HARD

tall patio
#

the walls are breathing

tall patio
#

i finally have for loops

#

you can even do your custom iterators

#

custom iterator

tall patio
#

i think

#

jang is usable

tall patio
#

OMG

#

I WILL USE THAT STAFF FOR MY SUMMONER RUN

tall patio
#

its time of including enums in haxe

#

πŸ₯Ί

#

im not doing algebraic data enums

#

that would be really hard to implement

tall patio
#

im reworking

#

the imports system

#

and how you access the std

#

now im doing a rulescript stuff

#

like searching everything

#

in a file

#

and updating it

#

but now i will make something more like

#

haxe stuff

#

the import syntax will be the same

#

but im testing things rn

tall patio
tall patio
#

it works

tall patio
#

i will try to make jang a deno kind

#

application

#

like

#

jang --run

#

it will run main.jn

#

jang --build

#

it will bundle the scripts in a exe

#

idk if thats possible

#

xd

tall patio
#

maybe no

#

thas a quite complex

tall patio
#

this is a peak instrument

#

it changed my life

#

i love it

tall patio
#

tomorrow i will buy an ocarina

#

and a zampoΓ±a too

#

or maybe something else

tall patio
#

im happy
im happy
im happy
im happy
im happy
im happy
im happy
im happy
im happy
im happy
im happy
im happy

dreamy sphinx
tall patio
dreamy sphinx
#

i hope you explode said the cat calmly

tall patio
#

also another cat to the list

tall patio
#

dammmn

#

this is a really old message

#

no way

tall patio
#

oh god

#

i dont remember the opengl api

#

im so screwed

tall patio
tall patio
#

ive spent half of an hour talking to myself

#

d a m n

#

and it is recorded

#

h o l y

#

lets see the size of the file

tall patio
#

oksdgjndfghndhng

#

i know the song

#

but my fingers and my lungs arent syncronized

#

sfhijrfjhfgmj

violet sleet
#

Are your lungs meant to be synchronised to your fingers? πŸ˜‚

tall patio
#

its a flute-kind instrument

#

i need to exale air and move my fingers really fast

tall patio
#

messing with opengl

#

(again)

tall patio
#

i will take the structure of pear

#

hmmm

#

yeah why not

tall patio
#

πŸ˜”

tall patio
#

aaaah

#

😭

#

i dont wanna work in a animation system again 😭

tall patio
#

i have cameras now

#

using matrix

#

but

#

uuuh

#

the zoom is the only problem

#

its weird

#

it doesnt works properly

dreamy sphinx
tall patio
#

yeah

#

πŸ˜”

dreamy sphinx
#

oh thats not bad tho

#

dont let this stop you from doing anythin

tall patio
#

lkpgkdnfglfd

dreamy sphinx
#

oh and can i try this framework out when it is on github

tall patio
#

oh

#

its on github

#

wait

#

im pushing the update rn

tall patio
#

it isnt a framework

#

its the core of my fnf engine

#

it shouldnt be used for making games

#

cuz no batching

#

but try it

#

mess aroung with the

#

code

dreamy sphinx
#

oh

#

cool

tall patio
#

i need to work in a batching system rn

#

it will work like in libgdx

#
var batch:TextureBatch = new TextureBatch()
batch.begin(txt)
batch.drawImage(x, y)
batch.drawFrame(x, y, new Rectangle(fx, fy, fw, fh))
batch.end()
#

thats the idea i have

#

i will use that class for notes

#

and strums

dreamy sphinx
#

wait will the user need to do something with texturebatch or will the engine handle it

tall patio
#

no modding

#

but if i add modding

#

the user / modder should work with the engine like in libgdx

#

im not struggling with batching multiple textures, shaders and matrix

#

thats annoying

#

also, add modding using opengl its really complex

#

in summary

#

no autobatching

#

thats manual

dreamy sphinx
#

o

ashen urchin
#

I'm already doing that quite literally with just having a wrapper wtf are you doing bro

#

/hj

tall patio
#

bro?

#

100k 225x225 textures

#

its fine i guess

tall patio
#

omg i was so fucking dumb

#

svskskg

tall patio
#

nice

#

now i have sound time

#

its time of making sound properties

#

wait

#

what im doing

#

i need to work in inputs

#

im so dumb

ashen urchin
#

Funkin' view is simply the opposite of this simple thing if you didn't know

#

There was a literal extern needed to have the best fnf audio system out of all of them whilst the required patches were needed, including but not limited to vocal sync

tall patio
#

sorry buddy but i have problems with funkin view

ashen urchin
#

What are the problems though

#

Also don't worry it's not for everyone to worry about

#

They'll just focus on the game and they'll be good to go

tall patio
# ashen urchin What are the problems though

theyre personal, for me its unnecessarily complex, the progress is practically nonexistent because you focused on things that are literally imperceptible, and the loading times are absurdly long

ashen urchin
#

What loading times are you talking about? The loading time before a song, or before the game opens?

ashen urchin
tall patio
#

uuuh, bf dad gf notes

ashen urchin
#

Mhm

#

Theyre all sparrow atlas as Funkin view only supports sparrow for now

tall patio
#

damn

#

half of a week working only in the core

#

dayum

tall patio
#

fixed an error with buffers

#

and batching

#

damn

tall patio
#

damn

#

i dont wanna code

#

i just wanna play minecraft and terraria

violet sleet
#

make a mini copy of terraria eyey

tall patio
#

wait, thats a good idea ngl

tall patio
#

i dont like the idea of a mini copy of terraria

#

maybe more like a topdown survival game

small vigil
#

i love the regretion

ashen urchin
#

Makes sense

tall patio
tall patio
#

nice

tall patio
#

its time

#

im testing the engine in linux

#

πŸ˜”

#

damn i need to sudo everything

small vigil
tall patio
#

que

#

pasatruco

tall patio
#

this is werid

#

it works now

small vigil
# tall patio pasatruco

pues ocupas solo instalar cosas con sudo, ejecutar aplicaciones no tendrΓ­a que porque pediro permisos se super usuario

tall patio
small vigil
#

Mira

#

Tu app tiene permiso de hacer de normal todo

#

Menos cambiar cosas de sistema

#

Escribir datos en /home/*/
/temp/
Generalmente no tendrΓ­a que por quΓ© tener problemas

#

y si haces algo fuers de ahΓ­

#

O tambiΓ©n puedes en el working directory

#

solamente la cosa

#

no deberΓ­a pedir super user

#

lo sΓ© de memoria, Undertale BoundFate para debug hace a cada rato write a logs-date.log

tall patio
#

una chiqui

small vigil
#

bueno normal hacer particiΓ³n a home pero era opcional y siendo tu primera vez te convendrΓ­a mejor tener todo en una sola

#

Porque uno nunca sabe cuΓ‘nto puede necesitar

tall patio
#

nice

#

now i can save data easily

tall patio
#

HMMM

#

this is weird

tall patio
#

main scene done

agile steppe
#

damn

#

dead account

tall patio
#

im back

tall patio
#

my ocarina finally arrive

#

arrived

#

ive been waiting a month

small vigil
#

!!

tall patio
#

πŸ˜„

tall patio
#

ok, its hard

#

but im learning

#

and it sounds amazing

tall patio
#

my mind is flying

#

i wanna make a real language

#

bc -> vm -> pack into an executable

#

in haxe

small vigil
tall patio
small vigil
tall patio
#
variable = "string"
CONSTANT = 1231

fn function(){}

while condition {
}

for variable in iterator {}

class damn extends anotherdamn{}

if condition {}
else if anotherCondition {}
else {}
#

syntax concept

dreamy sphinx
#

can it handle C = CB = CB2 = N = A = A = 2

tall patio
#

yeah?

tall patio
tall patio
#

generic stack :v

tall patio
#

making the compiler to bytes

#

storing the constant pool to bytes works

#

it works

#

in the future i will add support for arrays and objects

#

maybe

#

i will go for autoboxing

#

again

#

it not the fastest solution to fields in primitives

#

but it gives me a lot of freedom

#

also i can do custom operators

#

like in python

#
  return this.value += v;
}```
tall patio
#

operators are working

#

finally, simple operators

#

its worthy the complexity bc it allows the user to make the operators work in custom classes

#

Γ±ice

#

should i allow cpp functions?

#

like, the users can call c - cpp functions in the lang

#

its compile so i can make inline functions

#

should i make that type of functions?

#

(this is why i love vms :v)

#

this is what im doing for every class / primitives

#

god pls kill me

#

;v

#

i forgot about the modulo operation

#

:|

#

for every operator

#

D:

#

all this work because i wanna make a game framework in a custom language

#

:v

small vigil
tall patio
#

ya esta en bytes

#

solo que uso la extension bit viewer

#

asi que puedo ver binarios

tall patio
#

when your childhood youtuber revives an old series

#

its like

tall patio
#

im so dumb

#

im so dumb

#

im so dumb

#

im so dumb

#

im so dumb

#

im so dumb

#

im so dumb

#

im so dumb

#

im so dumb

#

how i will encapsulate the classes in bytecode

#

its my first time doing this

#

why discord is like at three fps

#

why is discord lagging my entire pc wtf

#

nice

#

now it isnt lagged

tall patio
#

me when

#

me when

#

me when i need to make a variables system

#

in a vm

#

;v

small vigil
tall patio
tall patio
#

making my custom replt bc im bored

#

should i add highlighting to this?

dreamy sphinx
#

βœ…

tall patio
#

dayum, k

tall patio
#

i hate haxe language server

#

wtf is this (variable l / r is being used without being initialized)

#

bullshit

#

its working

#

πŸ₯Ή

#

at least the binaries works

tall patio
#

damn

#

this shit is autoboxing everything

#

even for simple operators

#

i love it

tall patio
#

you should probably use binary files

#

idk 0.2ms vs 0.02ms is a difference

#

and the compiling to bytes is fast

#

wow

#

simple example to binaries

tall patio
#

implicit casts are now customizable

#

i need to fix that bug in floats

#

arrays are working

#

i have more (useful) classes than in jang at this point

#

"new" works now

#

working in objects rn

#

no

#

first access

#

you can in theory do

var a: string = "aeae"
a[1] #e
tall patio
#

objects works

tall patio
#

if statements works

tall patio
#

imports works

#

ill be working on std classes

#

i forgot about loops

#

damn

#

with the loops done i will work in inheritance

#

and work in inputs, outputs

#

bytes

#

etc, etc

#

while loops done

#

thats all for today

#

wow

#

i could tell a 40% of the lang is done

#

nah maybe 30% or 25%

tall patio
#

today i will work on

#

hmm

#

for loops

#

custom iterators

#

and custom classes

#
  • inheritance
tall patio
#

it works

#

ii dont know how

#

but for loops works

#

all that for this

#

so its time for coding iterators in everything

#

i dont care if the for instructions arent optimized

#

this works

tall patio
#

im thinking on

#

making clear in a low level programming language

#

like c, c++, rust or zig

#

i will move to zig

#

so i can do more complex things

#

and i think

#

that will make the ffi easier

#

cuz tbh

#

i dont find a way to connect callfunc or libffi to clear in haxe

tall patio
#

soooo

#

i will make fnf in zig

#

using sdl

#

for learning zig syntax

tall patio
#

the urge of going back to haxe and use hxsdl is eating me

tall patio
#

dayum

#

this sintax is anti game developing

tall patio
#

fuck zig im going with the old c

dreamy sphinx
#

windows 95 C? 😊

tall patio
#

wha

tall patio
#

it just handles + - * /

#

but at least i understand what it does

#

with this everything is done

#

i hope

#

i need

#

to make

#

a function

#

for

#

making

#

dynamic size strings

#

JGHOMFLPKJFJ,.FGHMG

#

MFGXLHFGH

#

i hate this

#

but

#

it works

#

i think im falling in love with realloc

tall patio
#

sometimes i hate c

#

sometimes I LOVE C

tall patio
#

weird shit asf

#

lexer done probably

#

for expressions / syntax nodes i think i will be using unions

#

i think unions arent the best thing for expressions

#

(cuz you are allocating memory for every expression)

#

but it will work

#
#

probably

tall patio
#

forcing oop in c

#

:v

tall patio
#

im creating exprs

#

finally

#

-# all this because i wanted to make a clone of fnf in a language i liked (a language that doesnt exist, ignoring haxe)

tall patio
#

i was scared of pointers

#

now pointers

#

are everything in clear

tall patio
#

ok

#

so finally

#

im making

#

an ast

#

o h m y g o d

tall patio
#

im becoming

#

crazy

#

complete crazy

tall patio
#

i will rest

tall patio
#

i will make a love wrapper for haxe

#

using reflaxe.lua

tall patio
#

awawawawawawawaaawawa

tall patio
#

ok

#

clear is a really complex project

#

for me

#

without help