brainf*** Compiler

HXCTCreations - Custom level - from Android
PlayEdit8 players liked this.Log in to like this level.

A compiler that converts brainf*** esoteric language code into lua, and runs it!

I include a hello world! program and it's able to compile it!

Still not believe it? Just push that edit button and see the script behind the display for yourself!

Future plans:
-input ability
-self IDE

Views: 481 Downloads: 206 Unique objects: 2 Total objects: 3

Discuss this level

Log in to comment on this level.
  • leo3065: OMG I can't believe someone really did this. Awesome!
  • Linux: Random numbers
  • Linux: >>>++[
    <+++++++++[
    <[<++>-]>>[>>]+>>+[
    -[->>+<<<[<[<<]<+>]>[>[>>]]]
    <[>>[-]]>[>[-<<]>[<+<]]+<<
    ]<[>+<-]>>-
    ]<.[-]>>
    ]
  • Banget: What to code?
    ++++++++[>+>++>+++>++++>+++++>++++++>+++++++>++++++++>+++++++++>+++++ ]>>>>>>>>>>>+.-<<<<<<<<<<<>>>>>>>>>>>>>>- .+<<<<<<<<<<<<<<>>>>>>>>>>>>>>>--- .+++<<<<<<<<<<<<<<<>>>>>>>>>>>>>>++.-- <<<<<<<<<<<<<<>>>>.<<<<>>>>>>>>>>>>>+.-<<<<<<<<<<<<<>>>>>>>>>>>>>>--
  • JOELwindows7: @Linux: yeah
  • Linux: @JOELwindows7: eh maybe assembly first one we have assembly we have all the langauges
  • JOELwindows7: My brain fkd up, Duper Awesome, it is compiler in Lua, would inspire me to implement Python in Lua...
  • Linux: Doubt that one it's assembly in brain fuck
  • Linux: https://esolangs.org/wiki/FRAK
  • Linux: Thanks amazing
  • Golden: @HXCTCreations: now I have a working message xD

    ++++++++[>+>++>+++>++++>+++++>++++++>+++++++>++++++++>+++++++++>++++++++++>+++++++++++>++++++++++++>+++++++++++++>++++++++++++++>+++++++++++++++>++++++++++++++++<<<<<<<<<<<<<<<<-]>>>>>>>>>>>+.-<<<<<<<<<<<>>>>>>>>>>>>>>-.+<<<<<<<<<<<<<<>>>>>>>>>>>>>>>---.+++<<<<<<<<<<<<<<<>>>>>>>>>>>>>>++.--<<<<<<<<<<<<<<>>>>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>>>>>>>>+++.---<<<<<<<<>>>>>>>>>>>----.++++<<<<<<<<<<<>>>>+.-<<<<.
  • HXCTCreations: @Golden: it has infinite cells(well the limit is very large)
  • Golden: http://andrew.hedges.name/experiments/brainf_cker/
  • Golden: Found the compatible generator
  • Golden: After some testing, figured my encoder or translator is not compatible or perfected...
  • Golden: Wait
  • Golden: @HXCTCreations: does this do compiler has 8-bit cells?

    I tried the shortest, 4 bytes

    -[--->+<]>-.-[----->+++<]>.[--->+<]>----.+.

    It prints out "Test"
  • Golden: Used encoder or something
  • Golden: @HXCTCreations: oh, its just to print out, "Your intelligence are far beyond than us, HXCT!" I think
  • HXCTCreations: @Golden: the first loop does not return zero, what does it do?
  • Golden: I have a message for you

    +[--->++<]>+++.[->+++++++<]>.++++++.---.[-->+++++<]>+++.-[--->++<]>-.+++++.++++++.+++[->+++<]>.+++++++..---.--.--.+++++++++.-----------.++.--[--->+<]>-.[->+++<]>+.--[--->+<]>---.-------------.--[--->+<]>-.++[->+++<]>.-----.--[--->+<]>---.[-->+++++<]>+++.[->+++<]>++.+++.[--->+<]>++.----------.-.----------.-[--->+<]>-.---[->++++<]>.------------.-------.+++++++++++++.-[->+++++<]>-.---[->++++<]>+.--.-[++>---<]>+.------------.++++[->++<]>.>+[--->++<]>++.[---->+++<]>+.>-[--->+<]>-.[--->+<]>+++++.
  • Golden: Damn son
  • HXCTCreations: @Golden: @Linux: Challenge accepted lol

LEVEL ID: 24922