User talk:Dtuser1337

From Esolang
Jump to navigation Jump to search

Reply to your request

Hello User:ArthroStar11 here. I am responding to your request for a BrainfisHQ9+ interpreter. I'll accept your request. I just have a couple of questions.

  1. does BrainfishQ9+'s tape work identically to Brainfuck or is it a larger/smaller/same size array of larger/same size values (i.e. does it differ from a 30000 cell array of bytes)
  2. should it handle source files or console-typed source

I'll post major updates in this section as to the progress. 12 July 2021 12:40PM UTC

Update 1 Okay, so I've got the functionality programmed in and my compiler isn't angry at me. I just need to bind the code to commands and implement input of BrainfisHQ9+ code, as well as run it with reference programs. I don't think your specification as written is (fully) backwards compatible with vanilla Deadfish.

  1. you specifically exclude the set to zero condition which one of the required test programs triggers
  2. the specification doesn't have any means of outputting an integer
  3. the specification implies it works on a tape of 1 Byte characters (like Brainfuck) whereas one of Deadfish's tests would need at least a 2 Byte Short

It should fully comply to Brainfuck and HQ9+ though I've been writing the interpreter to comply with your listed specification rather than the compatibility claims. This has been a pretty fun project. User:ArthroStar11 12 July 2021 2:22PM UTC

Update 2 Well, I got the interpreter up and running. the HQ9+ section works flawlessly (I'd be very disappointed in myself otherwise) The Brainfuck section had a few hiccups, but the offending programs are noted as screwing with homebrew interpreters anyways. it ran 2 of the 4 Hello World examples and all 4 variants of cat. It passed both "print 0" tests for Deadfish though not the print 288 since bytes aren't big enough, and of course it printed the ascii characters. It even successfully ran the hello world for Deadfish.

here is the link to the interpreter. I'll put it on the language page shortly. Feel free to delete this section of the page when you read this.