7 ms·
Show HN: BrainIDE – A feature-packed Brainfuck compiler
- rbanffy 4y agoIt's not because someone can do something that they should, but this is amazing :-)
- jksmith 4y agoThat is indeed feature packed for BF. Because shut up.
- krylon 4y agoPart of me hoped this would be self-hosted. Not sure if I am disappointed or relieved. ;-P
- graypegg 4y agoGreat job! Love the idea of this sort of “because I can” project. I wonder what intellisense would look like for brainfuck! A while ago I made a brainfuck to JavaScript transpiler [0], and if you want to dig into brainfuck more, there’s a lot of optimization you can do with BF beyond just interpreting it. As useless as a task as that can be, it’s a great way to jump into how compilers work! [0] https://github.com/graypegg/unfuck https://github.com/graypegg/unfuck
- LovetheFrogs 4y agoThat was the whole idea of it, just doing something as a passion project even tho it's not the most useful thing out there. I'll check out your project too!
- mtsfz2 4y agoBrainfuck in Prolog [0]. This is the way. [0] https://github.com/danieldk/brainfuck-pl https://github.com/danieldk/brainfuck-pl
- deleted 4y ago[deleted]
- thecleaner 4y agoWhat's the development stack ? LLVM ?
- masklinn 4y agoInteresting idea to have a "feature-packed" and "user-friendly" IDE for a turing tarpit. I'd have imagined it as a wimpmode for the really complicated esolangs out there e.g. fungeoids and whatever the hell intercal's classification is.
- LovetheFrogs 4y agoThat's actually an idea I had during the development of the IDE, and I might be looking more into it.
- pelagicAustral 4y agoI’m certain there is a splash of sarcasm in this comment but so how I agree. This is an enjoyable and refreshing project. Thanks OP
- masklinn 4y agoOh no sarcasm no, just that turing tarpits are about bare simplicity of form and function, so I'd see turing tarpit editors close to ed, and on the far side. A heavy, pondering, editor I'd associate more with the rube-golberg type of esoteric language, where your first issue is actually achieving things at all, then finding out what you achieved (or did not).
- IncRnd 4y agoI use Brainfuck-IDE for my personal projects. It has a great Azure theme that's really easy on the eyes. [1] When I'm traveling, I use an online IDE, bf-ide. This is great for experimental coding, where there is no IP I need to protect. It is heads and shoulders above all other editors and IDEs - for online or where I need to think on my feet anyway. This really is a superb choice for those times when I'm presenting at a conference, and I really want to demonstrate some code that anyone can try right then. No installation is necessary for Brainfuck here! WIth bf-ide, I don't even care if there is a web disclosure or if my source code gets leaked. The crooks won't understand it anyway. bf-ide is so intuitive to point-and-click when I want to perform a braindump and execute! [2] [3] For Mission-Critical and Enterprise Development, absolutely everyone uses Brainfuck Studio. It's great for UML diagrams of the Brain Factory-Factory-Implementation-Factory-Maker-Owner model test code. Then you follow the workflow defined by the team leader who just left for Oracle, and the application should probably get built without too many issues. [4] [5] And, I'm going to install BrainIDE right now. I'm a BrainFuck aficionado, and I work at a Brainfuck shop, so any tooling advantage I can think of or that someone invents with the sweat of their brow is A-OK in my book! [1] https://github.com/rdbende/Brainfuck-IDE https://github.com/rdbende/Brainfuck-IDE [2] https://github.com/kvbc/bf-ide https://github.com/kvbc/bf-ide [3] https://kvbc.github.io/bf-ide/ https://kvbc.github.io/bf-ide/ [4] https://github.com/prat-man/Brainfuck-Studio https://github.com/prat-man/Brainfuck-Studio [5] https://brainfuck.pratanumandal.in/ https://brainfuck.pratanumandal.in/
- _fat_santa 4y agoI wonder, has anyone made an actual app or something resembling an app with BF? I would imagine it would be quite a daunting task given the syntax.
- LovetheFrogs 4y agoThere's a game out there IIRC, but from experience, it's easy to get lost in your own code because of the obscurity of bf. That's it's charm ahahaha.
- vletal 4y agoThere is a brainfuck variant supporting syscalls. Seems like a great candidate for a llvm backend. You could have mostly any app you want.
- ryanmcbride 4y agoThere's a few but they're usually incredibly simple like a calculator. It's mostly just a fun way to challenge yourself