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

28m 46s logged

Float as pieces

i modified our regex in tokeniser to accept numbers 0-9 with a dot inbetween and number(s) after

this gets by tokeniser recognised as pices and codegen now correctly outputs it with F in the C printf command.

The biggest problem C standartly takes 6 nuámbers after the dot so from x=5.6 you get
5.600000.

That aint a big of a deal.

Todo:

  • Implement math opoerations, that can be cahined.
  • Impement cloasable block operationh (function doesnt run until the end of a file)

This also allows for automatic tabs in codegen instead of manual and allows implementation of someting like if/else

0
2

Comments 0

No comments yet. Be the first!