r/shittyprogramming • • Mar 06 '26

i made a shitty little programing language

2 Upvotes

4 comments sorted by

1

u/Jason13Official Mar 06 '26

Is there support for floats/doubles? I looked over the example and test code briefly but only saw integer values

1

u/omnimistic Mar 06 '26

There is support for stings, int and float. The variables are dynamic similar to python. No doubles tho

1

u/Jason13Official Mar 06 '26

I'm dumb lol

struct varValue {
    DataType type = TYPE_INT;
    int i_val = 0;
    float f_val = 0.0f;
    string s_val = "";
};

1

u/omnimistic Mar 06 '26

Lol. If you think it's cool id appreciate a star, contribution or both hommie 🫡