[HN Gopher] ed.bf: text editor in Brainfuck
___________________________________________________________________
ed.bf: text editor in Brainfuck
Author : aartaka
Score : 67 points
Date : 2023-11-27 17:15 UTC (5 hours ago)
(HTM) web link (github.com)
(TXT) w3m dump (github.com)
| Grimburger wrote:
| I love the proper formatting and explainer comments everywhere.
| Almost makes it seem normal.
| airstrike wrote:
| I thought about stealing some of this code but I stopped when I
| saw the copyright notice
| pjot wrote:
| The project seems to use the "DO WHAT THE FUCK YOU WANT TO
| PUBLIC LICENSE"
| NewJazz wrote:
| WHAT IF I DO WHAT I DON'T WANT?
|
| Am I then in violation?
| pelagicAustral wrote:
| I must say, not being Ken Thomson is a real struggle in my
| career.
| airstrike wrote:
| "bf-enterprise-solutions" ROFL
| morninglight wrote:
| We had ChatGTP convert this from brainfuck to forth for
| readability.
| tayyebi wrote:
| Well, this is the ed man as u wish:
| https://tyyi.net/man2html/ed.html
| whartung wrote:
| The fact that this was done in just 430ish lines of BF really
| illustrates some of BFs power that may be lost on others.
| ithkuil wrote:
| It also illustrates the power and simplicity of ed
| AlotOfReading wrote:
| 430 lines of overly verbose BF to boot. You could delete 1/3rd
| to 1/2 of them by simple tricks the author hasn't used for
| readability reasons.
|
| It's not the worst language if you're willing to work within
| the constraints and frankly, more readable than a lot of C++.
| My own editor (written many years ago, no meta interpreter) was
| 113 characters.
| oh_sigh wrote:
| My company doesn't let us use brainfu*k due to a naughty language
| filter - has anyone ported this to befunge?
| sgift wrote:
| Does your company also ban aussies? I've heard swearing is
| second nature to them.
| kleiba wrote:
| Jeez, debugging this must have been so much fun.
| nadermx wrote:
| "Not being Ken Thompson is a struggle every working software
| engineer has to contend with." Funny. Also brainfuck always is
| intesting, hard for no other reason.
| sgift wrote:
| Some people just hate themselves. Really .. that's the only
| reason for something like this. But props for doing it, you are
| better hackers (old school variant) than me, bf-enterprise-
| solutions.
___________________________________________________________________
(page generated 2023-11-27 23:00 UTC)