elikaski / BF-it

A C-like language to Brainfuck compiler, written in Python
MIT License
120 stars 11 forks source link

Add include compiler directive and some libraries. #53

Open NeeEoo opened 3 years ago

NeeEoo commented 3 years ago

I don't think that this code is efficient. So you can commit to this pull request to fix stuff.

This pull request is a draft since there are still some stuff that needs to be improved.

#include <math.code>

int main() {
    printint(sqrt(16)); // prints 4
}
NeeEoo commented 3 years ago

Merge conflicts are annoying.

NeeEoo commented 3 years ago

I don't know what happened to the merge conflict. I didn't even fix it

elikaski commented 3 years ago

This is wonderful, I'll review it when I have the time :)

abhra2020-smart commented 2 years ago

I just graduated from CS and did learn that it's really simple