You are browsing as a guest. Sign up (or log in) to start making projects!

1h 9m 26s logged

DieLog

Heres what majestic stuff have we done

Finelang now accepts CALCULATING OPERATORS

and CHAINED calculated operation.

lets give ourselves a representation
let x = 5 add 7 multiuply 9
let y = x subtract 67

this adequetly transforms the code to the correct math operators, and let our big dawg figure out the operations.

lets see for ourselves.

fineLang ->
´´´
SUFFER: two
;
FUNCTION main():
let x = 5.5 times 2
let y = x divide 6
print(x)
print(y)
return 0
´´´

into correct C
´´´
#include <stdio.h>
int main() {
float x = 5.5 * 2;
float y = x / 6;
printf(“%f\n”, x);
printf(“%f\n”, y);
return 0;
}
´´´

this was amazingly painfull to do and im glad it works :)

tomorows work is automationg codegen tabs / spaces, and being able for new code blocks

0
1

Comments 0

No comments yet. Be the first!