fabianishere / brainfuck

Brainfuck interpreter written in C
Apache License 2.0
541 stars 74 forks source link

Support for Windows ? And other things... #84

Closed foxypiratecove37350 closed 1 year ago

foxypiratecove37350 commented 1 year ago

Is Windows supported ? Can you create a compiler fonctionality with this command scheme : brainfuck <INPUT_FILE_PATH> -o <OUTPUT_FILE_PATH> ? And can you create a distribuable installer in .exe for Windows (if Windows is supported), .deb/.rpm for Linux and .dmg for macOS ?

fabianishere commented 1 year ago

This repository contains a Brainfuck interpreter and not a compiler. It will execute Brainfuck instructions directly instead of compiling into a binary.

foxypiratecove37350 commented 1 year ago

But you can add a compiling functionality, the name of the reposotory is brainfuck, not brainfuck-interpreter. If you want I can try to develop this functionality. And you didn't answer my question if Windows is supported, and you didn't talk about my idea of an installer file for users and not just source code for contributors.

fabianishere commented 1 year ago
  1. At the moment, I have no plans to extend this project with a compiler. There exist quite a few Brainfuck compilers, I recommend taking a look at those. However, feel free to build something yourself if you are interested in that :)
  2. Yes, Windows, Mac, and Linux are supported.
  3. I have not yet worked on packaging the binary, #72 is tracking this, though you may find that others have packaged the project already for some platforms. I am happy to accept contributions for this.
foxypiratecove37350 commented 1 year ago

Can you explain in details the steps for Windows build and installation ?