diff --git a/.github/workflows/codacy.yml b/.github/workflows/codacy.yml new file mode 100644 index 000000000..7a846cc0f --- /dev/null +++ b/.github/workflows/codacy.yml @@ -0,0 +1,60 @@ +# This workflow uses actions that are not certified by GitHub. +# They are provided by a third-party and are governed by +# separate terms of service, privacy policy, and support +# documentation. + +# This workflow checks out code, performs a Codacy security scan +# and integrates the results with the +# GitHub Advanced Security code scanning feature. For more information on +# the Codacy security scan action usage and parameters, see +# https://github.com/codacy/codacy-analysis-cli-action. +# For more information on Codacy Analysis CLI in general, see +# https://github.com/codacy/codacy-analysis-cli. + +name: Codacy Security Scan + +on: + push: + branches: [ master ] + pull_request: + # The branches below must be a subset of the branches above + branches: [ master ] + schedule: + - cron: '36 4 * * 2' + +permissions: + contents: read + +jobs: + codacy-security-scan: + permissions: + contents: read # for actions/checkout to fetch code + security-events: write # for github/codeql-action/upload-sarif to upload SARIF results + name: Codacy Security Scan + runs-on: ubuntu-latest + steps: + # Checkout the repository to the GitHub Actions runner + - name: Checkout code + uses: actions/checkout@v3 + + # Execute Codacy Analysis CLI and generate a SARIF output with the security issues identified during the analysis + - name: Run Codacy Analysis CLI + uses: codacy/codacy-analysis-cli-action@d840f886c4bd4edc059706d09c6a1586111c540b + with: + # Check https://github.com/codacy/codacy-analysis-cli#project-token to get your project token from your Codacy repository + # You can also omit the token and run the tools that support default configurations + project-token: ${{ secrets.CODACY_PROJECT_TOKEN }} + verbose: true + output: results.sarif + format: sarif + # Adjust severity of non-security issues + gh-code-scanning-compat: true + # Force 0 exit code to allow SARIF file generation + # This will handover control about PR rejection to the GitHub side + max-allowed-issues: 2147483647 + + # Upload the SARIF file generated in the previous step + - name: Upload SARIF results file + uses: github/codeql-action/upload-sarif@v2 + with: + sarif_file: results.sarif diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml new file mode 100644 index 000000000..18ba13f88 --- /dev/null +++ b/.github/workflows/greetings.yml @@ -0,0 +1,16 @@ +name: Greetings + +on: [pull_request_target, issues] + +jobs: + greeting: + runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write + steps: + - uses: actions/first-interaction@v1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + issue-message: 'Message that will be displayed on users first issue' + pr-message: 'Message that will be displayed on users first pull request' diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml new file mode 100644 index 000000000..25f7fa6b3 --- /dev/null +++ b/.github/workflows/haskell.yml @@ -0,0 +1,43 @@ +name: Haskell CI + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +permissions: + contents: read + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-haskell@v1 + with: + ghc-version: '8.10.3' + cabal-version: '3.2' + + - name: Cache + uses: actions/cache@v3 + env: + cache-name: cache-cabal + with: + path: ~/.cabal + key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/*.cabal') }}-${{ hashFiles('**/cabal.project') }} + restore-keys: | + ${{ runner.os }}-build-${{ env.cache-name }}- + ${{ runner.os }}-build- + ${{ runner.os }}- + + - name: Install dependencies + run: | + cabal update + cabal build --only-dependencies --enable-tests --enable-benchmarks + - name: Build + run: cabal build --enable-tests --enable-benchmarks all + - name: Run tests + run: cabal test all diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml new file mode 100644 index 000000000..5732d6d59 --- /dev/null +++ b/.github/workflows/jekyll.yml @@ -0,0 +1,20 @@ +name: Jekyll site CI + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Build the site in the jekyll/builder container + run: | + docker run \ + -v ${{ github.workspace }}:/srv/jekyll -v ${{ github.workspace }}/_site:/srv/jekyll/_site \ + jekyll/builder:latest /bin/bash -c "chmod -R 777 /srv/jekyll && jekyll build --future" diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml new file mode 100644 index 000000000..a8a1bd725 --- /dev/null +++ b/.github/workflows/label.yml @@ -0,0 +1,22 @@ +# This workflow will triage pull requests and apply a label based on the +# paths that are modified in the pull request. +# +# To use this workflow, you will need to set up a .github/labeler.yml +# file with configuration. For more information, see: +# https://github.com/actions/labeler + +name: Labeler +on: [pull_request] + +jobs: + label: + + runs-on: ubuntu-latest + permissions: + contents: read + pull-requests: write + + steps: + - uses: actions/labeler@v4 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}" diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml new file mode 100644 index 000000000..47f24e11f --- /dev/null +++ b/.github/workflows/manual.yml @@ -0,0 +1,30 @@ +# This is a basic workflow that is manually triggered + +name: Manual workflow + +# Controls when the action will run. Workflow runs when manually triggered using the UI +# or API. +on: + workflow_dispatch: + # Inputs the workflow accepts. + inputs: + name: + # Friendly description to be shown in the UI instead of 'name' + description: 'Person to greet' + # Default value if no value is explicitly provided + default: 'World' + # Input has to be provided for the workflow to run + required: true + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "greet" + greet: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Runs a single command using the runners shell + - name: Send greeting + run: echo "Hello ${{ github.event.inputs.name }}" diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 000000000..51f7955b6 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,30 @@ +# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time. +# +# You can adjust the behavior by modifying this file. +# For more information, see: +# https://github.com/actions/stale +name: Mark stale issues and pull requests + +on: + schedule: + - cron: '37 8 * * *' + +jobs: + stale: + + runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write + + steps: + - uses: actions/stale@v5 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + days-before-stale: 365 + days-before-close: 365 + stale-issue-message: 'Stale issue message' + stale-pr-message: 'Stale pull request message' + stale-issue-label: 'no-issue-activity' + stale-pr-label: 'no-pr-activity' + operations-per-run: 1 diff --git a/.output/actual/bf/eval/logged/tree/Int16Type/99botles.logged b/.output/actual/bf/eval/logged/tree/Int16Type/99botles.logged index c562a1386..d1180fbc0 100644 --- a/.output/actual/bf/eval/logged/tree/Int16Type/99botles.logged +++ b/.output/actual/bf/eval/logged/tree/Int16Type/99botles.logged @@ -13,19 +13,19 @@ dump: Unit , [ <+++++++++++>- ] , < , - [ > [ - ] > [ - ] << [ >+>+<<- ] >> [ <<+>>- ] >>> [ - ] <<<+++++++++< + [ >[ - ]>[ - ]<<[ >+>+<<- ]>>[ <<+>>- ]>>>[ - ]<<<+++++++++< [ >>>+<< - [ >+> [ - ] <<- ] > [ <+>- ] > [ <<++++++++++>>>+<- ] <<-<- - ] +++++++++> [ <->- ] >>+> - [ < [ - ] <<+>>>- ] > [ - ] +<< [ >+>-<<- ] <<< [ >>+>+<<<- ] >>> [ <<<+>>>- ] > [ <+>- ] <<- - [ > [ - ] < [ - ] ] >>+< - [ > [ - ] <- ] <++++++++ [ <++++++<++++++>>- ] >>> [ >+>+<<- ] >> [ <<+>>- ] < [ <<<<<.>>>>>- ] <<<<<<.>> [ - ] > [ - ] ++++ [ <++++++++>- ] <.>++++ [ <++++++++>- ] <++.>+++++ [ <+++++++++>- ] <.><+++++..--------.-------.>> [ >>+>+<<<- ] >>> [ <<<+>>>- ] < [ <<<<++++++++++++++.>>>>- ] <<<< [ - ] >++++ [ <++++++++>- ] <.>+++++++++ [ <+++++++++>- ] <--.---------.>+++++++ [ <---------->- ] <.>++++++ [ <+++++++++++>- ] <.+++..+++++++++++++.>++++++++ [ <---------->- ] <--.>+++++++++ [ <+++++++++>- ] <--.-.>++++++++ [ <---------->- ] <++.>++++++++ [ <++++++++++>- ] <++++.------------.---.>+++++++ [ <---------->- ] <+.>++++++++ [ <+++++++++++>- ] <-.>++ [ <----------->- ] <.+++++++++++..>+++++++++ [ <---------->- ] <-----.---.>>> [ >+>+<<- ] >> [ <<+>>- ] < [ <<<<<.>>>>>- ] <<<<<<.>>>++++ [ <++++++>- ] <--.>++++ [ <++++++++>- ] <++.>+++++ [ <+++++++++>- ] <.><+++++..--------.-------.>> [ >>+>+<<<- ] >>> [ <<<+>>>- ] < [ <<<<++++++++++++++.>>>>- ] <<<< [ - ] >++++ [ <++++++++>- ] <.>+++++++++ [ <+++++++++>- ] <--.---------.>+++++++ [ <---------->- ] <.>++++++ [ <+++++++++++>- ] <.+++..+++++++++++++.>++++++++++ [ <---------->- ] <-.---.>+++++++ [ <++++++++++>- ] <++++.+++++++++++++.++++++++++.------.>+++++++ [ <---------->- ] <+.>++++++++ [ <++++++++++>- ] <-.-.---------.>+++++++ [ <---------->- ] <+.>+++++++ [ <++++++++++>- ] <--.+++++++++++.++++++++.---------.>++++++++ [ <---------->- ] <++.>+++++ [ <+++++++++++++>- ] <.+++++++++++++.----------.>+++++++ [ <---------->- ] <++.>++++++++ [ <++++++++++>- ] <.>+++ [ <----->- ] <.>+++ [ <++++++>- ] <..>+++++++++ [ <--------->- ] <--.>+++++++ [ <++++++++++>- ] <+++.+++++++++++.>++++++++ [ <----------->- ] <++++.>+++++ [ <+++++++++++++>- ] <.>+++ [ <++++++>- ] <-.---.++++++.-------.----------.>++++++++ [ <----------->- ] <+.---. [ - ] <<<-> [ - ] > [ - ] << [ >+>+<<- ] >> [ <<+>>- ] >>> [ - ] <<<+++++++++< + [ >+>[ - ]<<- ]>[ <+>- ]>[ <<++++++++++>>>+<- ]<<-<- + ]+++++++++>[ <->- ]>>+> + [ <[ - ]<<+>>>- ]>[ - ]+<<[ >+>-<<- ]<<<[ >>+>+<<<- ]>>>[ <<<+>>>- ]>[ <+>- ]<<- + [ >[ - ]<[ - ] ]>>+< + [ >[ - ]<- ]<++++++++[ <++++++<++++++>>- ]>>>[ >+>+<<- ]>>[ <<+>>- ]<[ <<<<<.>>>>>- ]<<<<<<.>>[ - ]>[ - ]++++[ <++++++++>- ]<.>++++[ <++++++++>- ]<++.>+++++[ <+++++++++>- ]<.><+++++..--------.-------.>>[ >>+>+<<<- ]>>>[ <<<+>>>- ]<[ <<<<++++++++++++++.>>>>- ]<<<<[ - ]>++++[ <++++++++>- ]<.>+++++++++[ <+++++++++>- ]<--.---------.>+++++++[ <---------->- ]<.>++++++[ <+++++++++++>- ]<.+++..+++++++++++++.>++++++++[ <---------->- ]<--.>+++++++++[ <+++++++++>- ]<--.-.>++++++++[ <---------->- ]<++.>++++++++[ <++++++++++>- ]<++++.------------.---.>+++++++[ <---------->- ]<+.>++++++++[ <+++++++++++>- ]<-.>++[ <----------->- ]<.+++++++++++..>+++++++++[ <---------->- ]<-----.---.>>>[ >+>+<<- ]>>[ <<+>>- ]<[ <<<<<.>>>>>- ]<<<<<<.>>>++++[ <++++++>- ]<--.>++++[ <++++++++>- ]<++.>+++++[ <+++++++++>- ]<.><+++++..--------.-------.>>[ >>+>+<<<- ]>>>[ <<<+>>>- ]<[ <<<<++++++++++++++.>>>>- ]<<<<[ - ]>++++[ <++++++++>- ]<.>+++++++++[ <+++++++++>- ]<--.---------.>+++++++[ <---------->- ]<.>++++++[ <+++++++++++>- ]<.+++..+++++++++++++.>++++++++++[ <---------->- ]<-.---.>+++++++[ <++++++++++>- ]<++++.+++++++++++++.++++++++++.------.>+++++++[ <---------->- ]<+.>++++++++[ <++++++++++>- ]<-.-.---------.>+++++++[ <---------->- ]<+.>+++++++[ <++++++++++>- ]<--.+++++++++++.++++++++.---------.>++++++++[ <---------->- ]<++.>+++++[ <+++++++++++++>- ]<.+++++++++++++.----------.>+++++++[ <---------->- ]<++.>++++++++[ <++++++++++>- ]<.>+++[ <----->- ]<.>+++[ <++++++>- ]<..>+++++++++[ <--------->- ]<--.>+++++++[ <++++++++++>- ]<+++.+++++++++++.>++++++++[ <----------->- ]<++++.>+++++[ <+++++++++++++>- ]<.>+++[ <++++++>- ]<-.---.++++++.-------.----------.>++++++++[ <----------->- ]<+.---.[ - ]<<<->[ - ]>[ - ]<<[ >+>+<<- ]>>[ <<+>>- ]>>>[ - ]<<<+++++++++< [ >>>+<< - [ >+> [ - ] <<- ] > [ <+>- ] > [ <<++++++++++>>>+<- ] <<-<- - ] +++++++++> [ <->- ] >>+> - [ < [ - ] <<+>>>- ] > [ - ] +<< [ >+>-<<- ] <<< [ >>+>+<<<- ] >>> [ <<<+>>>- ] <>> [ <+>- ] <<- - [ > [ - ] < [ - ] ] >>+< - [ > [ - ] <- ] <++++++++ [ <++++++<++++++>>- ] >>> [ >+>+<<- ] >> [ <<+>>- ] < [ <<<<<.>>>>>- ] <<<<<<.>> [ - ] > [ - ] ++++ [ <++++++++>- ] <.>++++ [ <++++++++>- ] <++.>+++++ [ <+++++++++>- ] <.><+++++..--------.-------.>> [ >>+>+<<<- ] >>> [ <<<+>>>- ] < [ <<<<++++++++++++++.>>>>- ] <<<< [ - ] >++++ [ <++++++++>- ] <.>+++++++++ [ <+++++++++>- ] <--.---------.>+++++++ [ <---------->- ] <.>++++++ [ <+++++++++++>- ] <.+++..+++++++++++++.>++++++++ [ <---------->- ] <--.>+++++++++ [ <+++++++++>- ] <--.-.>++++++++ [ <---------->- ] <++.>++++++++ [ <++++++++++>- ] <++++.------------.---.>+++++++ [ <---------->- ] <+.>++++++++ [ <+++++++++++>- ] <-.>++ [ <----------->- ] <.+++++++++++..>+++++++++ [ <---------->- ] <-----.---.+++.---. [ - ] <<< + [ >+>[ - ]<<- ]>[ <+>- ]>[ <<++++++++++>>>+<- ]<<-<- + ]+++++++++>[ <->- ]>>+> + [ <[ - ]<<+>>>- ]>[ - ]+<<[ >+>-<<- ]<<<[ >>+>+<<<- ]>>>[ <<<+>>>- ]<>>[ <+>- ]<<- + [ >[ - ]<[ - ] ]>>+< + [ >[ - ]<- ]<++++++++[ <++++++<++++++>>- ]>>>[ >+>+<<- ]>>[ <<+>>- ]<[ <<<<<.>>>>>- ]<<<<<<.>>[ - ]>[ - ]++++[ <++++++++>- ]<.>++++[ <++++++++>- ]<++.>+++++[ <+++++++++>- ]<.><+++++..--------.-------.>>[ >>+>+<<<- ]>>>[ <<<+>>>- ]<[ <<<<++++++++++++++.>>>>- ]<<<<[ - ]>++++[ <++++++++>- ]<.>+++++++++[ <+++++++++>- ]<--.---------.>+++++++[ <---------->- ]<.>++++++[ <+++++++++++>- ]<.+++..+++++++++++++.>++++++++[ <---------->- ]<--.>+++++++++[ <+++++++++>- ]<--.-.>++++++++[ <---------->- ]<++.>++++++++[ <++++++++++>- ]<++++.------------.---.>+++++++[ <---------->- ]<+.>++++++++[ <+++++++++++>- ]<-.>++[ <----------->- ]<.+++++++++++..>+++++++++[ <---------->- ]<-----.---.+++.---.[ - ]<<< ] ] 14 , unitTape = diff --git a/.output/actual/bf/eval/logged/tree/Int16Type/fascistHelloWorld.logged b/.output/actual/bf/eval/logged/tree/Int16Type/fascistHelloWorld.logged index b997657fb..20377a10f 100644 --- a/.output/actual/bf/eval/logged/tree/Int16Type/fascistHelloWorld.logged +++ b/.output/actual/bf/eval/logged/tree/Int16Type/fascistHelloWorld.logged @@ -28,7 +28,7 @@ dump: Unit , + , + , - [ > [ ->+++<<+++> ] << ] + [ >[ ->+++<<+++> ]<< ] , > , - , - @@ -55,7 +55,7 @@ dump: Unit , < , + , - [ > [ +>+ ] >> ] + [ >[ +>+ ]>> ] , < , - , - diff --git a/.output/actual/bf/eval/logged/tree/Int16Type/helloWorld.logged b/.output/actual/bf/eval/logged/tree/Int16Type/helloWorld.logged index b0e55304f..a5491570c 100644 --- a/.output/actual/bf/eval/logged/tree/Int16Type/helloWorld.logged +++ b/.output/actual/bf/eval/logged/tree/Int16Type/helloWorld.logged @@ -9,7 +9,7 @@ dump: Unit , + , + , - [ >++++ [ >++>+++>+++>+<<<<- ] >+>+>->>+ [ < ] <- ] + [ >++++[ >++>+++>+++>+<<<<- ]>+>+>->>+[ < ]<- ] , > , > , . diff --git a/.output/actual/bf/eval/logged/tree/Int16Type/triangle.logged b/.output/actual/bf/eval/logged/tree/Int16Type/triangle.logged index 17b1b2373..2639c54c6 100644 --- a/.output/actual/bf/eval/logged/tree/Int16Type/triangle.logged +++ b/.output/actual/bf/eval/logged/tree/Int16Type/triangle.logged @@ -40,13 +40,13 @@ dump: Unit , < , < , - [ - [ ->+< ] > [ -<+>>>.<< ] >>> + [ -[ ->+< ]>[ -<+>>>.<< ]>>> [ - [ ->++++++++ [ >++++<- ] >.<< [ ->+< ] +> [ ->++++++++++<<+> ] >. [ - ] > ] - ] +<<< - [ - [ ->+< ] +> - [ -<+>>>- [ ->+< ] ++> [ -<-> ] <<< ] <<<< - ] ++++++++++.+++. [ - ] < + [ ->++++++++[ >++++<- ]>.<<[ ->+< ]+>[ ->++++++++++<<+> ]>.[ - ]> ] + ]+<<< + [ -[ ->+< ]+> + [ -<+>>>-[ ->+< ]++>[ -<-> ]<<< ]<<<< + ]++++++++++.+++.[ - ]< ] , + , + diff --git a/.output/actual/bf/eval/logged/tree/Int8Type/99botles.logged b/.output/actual/bf/eval/logged/tree/Int8Type/99botles.logged index c562a1386..d1180fbc0 100644 --- a/.output/actual/bf/eval/logged/tree/Int8Type/99botles.logged +++ b/.output/actual/bf/eval/logged/tree/Int8Type/99botles.logged @@ -13,19 +13,19 @@ dump: Unit , [ <+++++++++++>- ] , < , - [ > [ - ] > [ - ] << [ >+>+<<- ] >> [ <<+>>- ] >>> [ - ] <<<+++++++++< + [ >[ - ]>[ - ]<<[ >+>+<<- ]>>[ <<+>>- ]>>>[ - ]<<<+++++++++< [ >>>+<< - [ >+> [ - ] <<- ] > [ <+>- ] > [ <<++++++++++>>>+<- ] <<-<- - ] +++++++++> [ <->- ] >>+> - [ < [ - ] <<+>>>- ] > [ - ] +<< [ >+>-<<- ] <<< [ >>+>+<<<- ] >>> [ <<<+>>>- ] > [ <+>- ] <<- - [ > [ - ] < [ - ] ] >>+< - [ > [ - ] <- ] <++++++++ [ <++++++<++++++>>- ] >>> [ >+>+<<- ] >> [ <<+>>- ] < [ <<<<<.>>>>>- ] <<<<<<.>> [ - ] > [ - ] ++++ [ <++++++++>- ] <.>++++ [ <++++++++>- ] <++.>+++++ [ <+++++++++>- ] <.><+++++..--------.-------.>> [ >>+>+<<<- ] >>> [ <<<+>>>- ] < [ <<<<++++++++++++++.>>>>- ] <<<< [ - ] >++++ [ <++++++++>- ] <.>+++++++++ [ <+++++++++>- ] <--.---------.>+++++++ [ <---------->- ] <.>++++++ [ <+++++++++++>- ] <.+++..+++++++++++++.>++++++++ [ <---------->- ] <--.>+++++++++ [ <+++++++++>- ] <--.-.>++++++++ [ <---------->- ] <++.>++++++++ [ <++++++++++>- ] <++++.------------.---.>+++++++ [ <---------->- ] <+.>++++++++ [ <+++++++++++>- ] <-.>++ [ <----------->- ] <.+++++++++++..>+++++++++ [ <---------->- ] <-----.---.>>> [ >+>+<<- ] >> [ <<+>>- ] < [ <<<<<.>>>>>- ] <<<<<<.>>>++++ [ <++++++>- ] <--.>++++ [ <++++++++>- ] <++.>+++++ [ <+++++++++>- ] <.><+++++..--------.-------.>> [ >>+>+<<<- ] >>> [ <<<+>>>- ] < [ <<<<++++++++++++++.>>>>- ] <<<< [ - ] >++++ [ <++++++++>- ] <.>+++++++++ [ <+++++++++>- ] <--.---------.>+++++++ [ <---------->- ] <.>++++++ [ <+++++++++++>- ] <.+++..+++++++++++++.>++++++++++ [ <---------->- ] <-.---.>+++++++ [ <++++++++++>- ] <++++.+++++++++++++.++++++++++.------.>+++++++ [ <---------->- ] <+.>++++++++ [ <++++++++++>- ] <-.-.---------.>+++++++ [ <---------->- ] <+.>+++++++ [ <++++++++++>- ] <--.+++++++++++.++++++++.---------.>++++++++ [ <---------->- ] <++.>+++++ [ <+++++++++++++>- ] <.+++++++++++++.----------.>+++++++ [ <---------->- ] <++.>++++++++ [ <++++++++++>- ] <.>+++ [ <----->- ] <.>+++ [ <++++++>- ] <..>+++++++++ [ <--------->- ] <--.>+++++++ [ <++++++++++>- ] <+++.+++++++++++.>++++++++ [ <----------->- ] <++++.>+++++ [ <+++++++++++++>- ] <.>+++ [ <++++++>- ] <-.---.++++++.-------.----------.>++++++++ [ <----------->- ] <+.---. [ - ] <<<-> [ - ] > [ - ] << [ >+>+<<- ] >> [ <<+>>- ] >>> [ - ] <<<+++++++++< + [ >+>[ - ]<<- ]>[ <+>- ]>[ <<++++++++++>>>+<- ]<<-<- + ]+++++++++>[ <->- ]>>+> + [ <[ - ]<<+>>>- ]>[ - ]+<<[ >+>-<<- ]<<<[ >>+>+<<<- ]>>>[ <<<+>>>- ]>[ <+>- ]<<- + [ >[ - ]<[ - ] ]>>+< + [ >[ - ]<- ]<++++++++[ <++++++<++++++>>- ]>>>[ >+>+<<- ]>>[ <<+>>- ]<[ <<<<<.>>>>>- ]<<<<<<.>>[ - ]>[ - ]++++[ <++++++++>- ]<.>++++[ <++++++++>- ]<++.>+++++[ <+++++++++>- ]<.><+++++..--------.-------.>>[ >>+>+<<<- ]>>>[ <<<+>>>- ]<[ <<<<++++++++++++++.>>>>- ]<<<<[ - ]>++++[ <++++++++>- ]<.>+++++++++[ <+++++++++>- ]<--.---------.>+++++++[ <---------->- ]<.>++++++[ <+++++++++++>- ]<.+++..+++++++++++++.>++++++++[ <---------->- ]<--.>+++++++++[ <+++++++++>- ]<--.-.>++++++++[ <---------->- ]<++.>++++++++[ <++++++++++>- ]<++++.------------.---.>+++++++[ <---------->- ]<+.>++++++++[ <+++++++++++>- ]<-.>++[ <----------->- ]<.+++++++++++..>+++++++++[ <---------->- ]<-----.---.>>>[ >+>+<<- ]>>[ <<+>>- ]<[ <<<<<.>>>>>- ]<<<<<<.>>>++++[ <++++++>- ]<--.>++++[ <++++++++>- ]<++.>+++++[ <+++++++++>- ]<.><+++++..--------.-------.>>[ >>+>+<<<- ]>>>[ <<<+>>>- ]<[ <<<<++++++++++++++.>>>>- ]<<<<[ - ]>++++[ <++++++++>- ]<.>+++++++++[ <+++++++++>- ]<--.---------.>+++++++[ <---------->- ]<.>++++++[ <+++++++++++>- ]<.+++..+++++++++++++.>++++++++++[ <---------->- ]<-.---.>+++++++[ <++++++++++>- ]<++++.+++++++++++++.++++++++++.------.>+++++++[ <---------->- ]<+.>++++++++[ <++++++++++>- ]<-.-.---------.>+++++++[ <---------->- ]<+.>+++++++[ <++++++++++>- ]<--.+++++++++++.++++++++.---------.>++++++++[ <---------->- ]<++.>+++++[ <+++++++++++++>- ]<.+++++++++++++.----------.>+++++++[ <---------->- ]<++.>++++++++[ <++++++++++>- ]<.>+++[ <----->- ]<.>+++[ <++++++>- ]<..>+++++++++[ <--------->- ]<--.>+++++++[ <++++++++++>- ]<+++.+++++++++++.>++++++++[ <----------->- ]<++++.>+++++[ <+++++++++++++>- ]<.>+++[ <++++++>- ]<-.---.++++++.-------.----------.>++++++++[ <----------->- ]<+.---.[ - ]<<<->[ - ]>[ - ]<<[ >+>+<<- ]>>[ <<+>>- ]>>>[ - ]<<<+++++++++< [ >>>+<< - [ >+> [ - ] <<- ] > [ <+>- ] > [ <<++++++++++>>>+<- ] <<-<- - ] +++++++++> [ <->- ] >>+> - [ < [ - ] <<+>>>- ] > [ - ] +<< [ >+>-<<- ] <<< [ >>+>+<<<- ] >>> [ <<<+>>>- ] <>> [ <+>- ] <<- - [ > [ - ] < [ - ] ] >>+< - [ > [ - ] <- ] <++++++++ [ <++++++<++++++>>- ] >>> [ >+>+<<- ] >> [ <<+>>- ] < [ <<<<<.>>>>>- ] <<<<<<.>> [ - ] > [ - ] ++++ [ <++++++++>- ] <.>++++ [ <++++++++>- ] <++.>+++++ [ <+++++++++>- ] <.><+++++..--------.-------.>> [ >>+>+<<<- ] >>> [ <<<+>>>- ] < [ <<<<++++++++++++++.>>>>- ] <<<< [ - ] >++++ [ <++++++++>- ] <.>+++++++++ [ <+++++++++>- ] <--.---------.>+++++++ [ <---------->- ] <.>++++++ [ <+++++++++++>- ] <.+++..+++++++++++++.>++++++++ [ <---------->- ] <--.>+++++++++ [ <+++++++++>- ] <--.-.>++++++++ [ <---------->- ] <++.>++++++++ [ <++++++++++>- ] <++++.------------.---.>+++++++ [ <---------->- ] <+.>++++++++ [ <+++++++++++>- ] <-.>++ [ <----------->- ] <.+++++++++++..>+++++++++ [ <---------->- ] <-----.---.+++.---. [ - ] <<< + [ >+>[ - ]<<- ]>[ <+>- ]>[ <<++++++++++>>>+<- ]<<-<- + ]+++++++++>[ <->- ]>>+> + [ <[ - ]<<+>>>- ]>[ - ]+<<[ >+>-<<- ]<<<[ >>+>+<<<- ]>>>[ <<<+>>>- ]<>>[ <+>- ]<<- + [ >[ - ]<[ - ] ]>>+< + [ >[ - ]<- ]<++++++++[ <++++++<++++++>>- ]>>>[ >+>+<<- ]>>[ <<+>>- ]<[ <<<<<.>>>>>- ]<<<<<<.>>[ - ]>[ - ]++++[ <++++++++>- ]<.>++++[ <++++++++>- ]<++.>+++++[ <+++++++++>- ]<.><+++++..--------.-------.>>[ >>+>+<<<- ]>>>[ <<<+>>>- ]<[ <<<<++++++++++++++.>>>>- ]<<<<[ - ]>++++[ <++++++++>- ]<.>+++++++++[ <+++++++++>- ]<--.---------.>+++++++[ <---------->- ]<.>++++++[ <+++++++++++>- ]<.+++..+++++++++++++.>++++++++[ <---------->- ]<--.>+++++++++[ <+++++++++>- ]<--.-.>++++++++[ <---------->- ]<++.>++++++++[ <++++++++++>- ]<++++.------------.---.>+++++++[ <---------->- ]<+.>++++++++[ <+++++++++++>- ]<-.>++[ <----------->- ]<.+++++++++++..>+++++++++[ <---------->- ]<-----.---.+++.---.[ - ]<<< ] ] 14 , unitTape = diff --git a/.output/actual/bf/eval/logged/tree/Int8Type/fascistHelloWorld.logged b/.output/actual/bf/eval/logged/tree/Int8Type/fascistHelloWorld.logged index b997657fb..20377a10f 100644 --- a/.output/actual/bf/eval/logged/tree/Int8Type/fascistHelloWorld.logged +++ b/.output/actual/bf/eval/logged/tree/Int8Type/fascistHelloWorld.logged @@ -28,7 +28,7 @@ dump: Unit , + , + , - [ > [ ->+++<<+++> ] << ] + [ >[ ->+++<<+++> ]<< ] , > , - , - @@ -55,7 +55,7 @@ dump: Unit , < , + , - [ > [ +>+ ] >> ] + [ >[ +>+ ]>> ] , < , - , - diff --git a/.output/actual/bf/eval/logged/tree/Int8Type/fibonacci.logged b/.output/actual/bf/eval/logged/tree/Int8Type/fibonacci.logged index 2f9af11ef..91b73fe52 100644 --- a/.output/actual/bf/eval/logged/tree/Int8Type/fibonacci.logged +++ b/.output/actual/bf/eval/logged/tree/Int8Type/fibonacci.logged @@ -104,17 +104,17 @@ dump: Unit , < , < , - [ > [ >>>>>>+>+<<<<<<<- ] >>>>>>> [ <<<<<<<+>>>>>>>- ] < + [ >[ >>>>>>+>+<<<<<<<- ]>>>>>>>[ <<<<<<<+>>>>>>>- ]< [ >++++++++++ - [ -<- [ >>+>+<<<- ] >>> [ <<<+>>>- ] +< - [ > [ - ] < [ - ] ] > - [ << [ >>>+<<<- ] >> [ - ] ] << - ] >>> [ >>+>+<<<- ] >>> [ <<<+>>>- ] +< - [ > [ - ] < [ - ] ] > - [ <<+>> [ - ] ] <<<<<<< - ] >>>>> - [ ++++++++++++++++++++++++++++++++++++++++++++++++. [ - ] ] ++++++++++< [ ->-< ] >++++++++++++++++++++++++++++++++++++++++++++++++. [ - ] <<<<<<<<<<<< [ >>>+>+<<<<- ] >>>> [ <<<<+>>>>- ] <- - [ >>.>.<<< [ - ] ] << [ >>+>+<<<- ] >>> [ <<<+>>>- ] << [ <+>- ] > [ <+>- ] <<<- + [ -<-[ >>+>+<<<- ]>>>[ <<<+>>>- ]+< + [ >[ - ]<[ - ] ]> + [ <<[ >>>+<<<- ]>>[ - ] ]<< + ]>>>[ >>+>+<<<- ]>>>[ <<<+>>>- ]+< + [ >[ - ]<[ - ] ]> + [ <<+>>[ - ] ]<<<<<<< + ]>>>>> + [ ++++++++++++++++++++++++++++++++++++++++++++++++.[ - ] ]++++++++++<[ ->-< ]>++++++++++++++++++++++++++++++++++++++++++++++++.[ - ]<<<<<<<<<<<<[ >>>+>+<<<<- ]>>>>[ <<<<+>>>>- ]<- + [ >>.>.<<<[ - ] ]<<[ >>+>+<<<- ]>>>[ <<<+>>>- ]<<[ <+>- ]>[ <+>- ]<<<- ] , + , + @@ -217,17 +217,17 @@ dump: Unit , < , < , - [ > [ >>>>>>+>+<<<<<<<- ] >>>>>>> [ <<<<<<<+>>>>>>>- ] < + [ >[ >>>>>>+>+<<<<<<<- ]>>>>>>>[ <<<<<<<+>>>>>>>- ]< [ >++++++++++ - [ -<- [ >>+>+<<<- ] >>> [ <<<+>>>- ] +< - [ > [ - ] < [ - ] ] > - [ << [ >>>+<<<- ] >> [ - ] ] << - ] >>> [ >>+>+<<<- ] >>> [ <<<+>>>- ] +< - [ > [ - ] < [ - ] ] > - [ <<+>> [ - ] ] <<<<<<< - ] >>>>> - [ ++++++++++++++++++++++++++++++++++++++++++++++++. [ - ] ] ++++++++++< [ ->-< ] >++++++++++++++++++++++++++++++++++++++++++++++++. [ - ] <<<<<<<<<<<< [ >>>+>+<<<<- ] >>>> [ <<<<+>>>>- ] <- - [ >>.>.<<< [ - ] ] << [ >>+>+<<<- ] >>> [ <<<+>>>- ] << [ <+>- ] > [ <+>- ] <<<- + [ -<-[ >>+>+<<<- ]>>>[ <<<+>>>- ]+< + [ >[ - ]<[ - ] ]> + [ <<[ >>>+<<<- ]>>[ - ] ]<< + ]>>>[ >>+>+<<<- ]>>>[ <<<+>>>- ]+< + [ >[ - ]<[ - ] ]> + [ <<+>>[ - ] ]<<<<<<< + ]>>>>> + [ ++++++++++++++++++++++++++++++++++++++++++++++++.[ - ] ]++++++++++<[ ->-< ]>++++++++++++++++++++++++++++++++++++++++++++++++.[ - ]<<<<<<<<<<<<[ >>>+>+<<<<- ]>>>>[ <<<<+>>>>- ]<- + [ >>.>.<<<[ - ] ]<<[ >>+>+<<<- ]>>>[ <<<+>>>- ]<<[ <+>- ]>[ <+>- ]<<<- ] ] 209 , unitTape = diff --git a/.output/actual/bf/eval/logged/tree/Int8Type/helloWorld.logged b/.output/actual/bf/eval/logged/tree/Int8Type/helloWorld.logged index b0e55304f..a5491570c 100644 --- a/.output/actual/bf/eval/logged/tree/Int8Type/helloWorld.logged +++ b/.output/actual/bf/eval/logged/tree/Int8Type/helloWorld.logged @@ -9,7 +9,7 @@ dump: Unit , + , + , - [ >++++ [ >++>+++>+++>+<<<<- ] >+>+>->>+ [ < ] <- ] + [ >++++[ >++>+++>+++>+<<<<- ]>+>+>->>+[ < ]<- ] , > , > , . diff --git a/.output/actual/bf/eval/logged/tree/Int8Type/padHelloWorld.logged b/.output/actual/bf/eval/logged/tree/Int8Type/padHelloWorld.logged index fef92cb5c..6b942abb4 100644 --- a/.output/actual/bf/eval/logged/tree/Int8Type/padHelloWorld.logged +++ b/.output/actual/bf/eval/logged/tree/Int8Type/padHelloWorld.logged @@ -8,7 +8,7 @@ dump: Unit , < , + , - [ + [ <+>--->->->-<<< ] > ] + [ +[ <+>--->->->-<<< ]> ] , < , < , - @@ -69,7 +69,7 @@ dump: Unit , 0 , 0 , 87 - , - 74 + , -74 , 0 ] , @@ -77,216 +77,216 @@ dump: Unit , 114 , 44 , 7 - , - 126 - , - 9 + , -126 + , -9 , 115 , 17 - , - 104 - , - 1 + , -104 + , -1 , 55 , 3 - , - 54 - , - 113 - , - 97 + , -54 + , -113 + , -97 , 117 , 64 , 111 - , - 13 - , - 33 - , - 30 + , -13 + , -33 + , -30 , 103 , 27 - , - 39 - , - 40 - , - 1 - , - 97 - , - 37 - , - 118 - , - 65 + , -39 + , -40 + , -1 + , -97 + , -37 + , -118 + , -65 , 39 , 125 , 32 - , - 17 + , -17 , 123 , 55 - , - 126 - , - 41 + , -126 + , -41 , 3 - , - 95 - , - 40 + , -95 + , -40 , 127 - , - 57 + , -57 , 51 - , - 118 - , - 17 - , - 17 - , - 123 - , - 64 - , - 17 - , - 61 + , -118 + , -17 + , -17 + , -123 + , -64 + , -17 + , -61 , 15 , 98 , 71 , 43 , 105 - , - 104 + , -104 , 127 - , - 81 + , -81 , 11 - , - 54 + , -54 , 31 - , - 9 - , - 115 + , -9 + , -115 , 32 , 111 - , - 53 + , -53 , 103 - , - 126 - , - 73 - , - 109 + , -126 + , -73 + , -109 , 49 , 24 - , - 1 + , -1 , 87 , 99 , 74 , 79 , 63 - , - 107 + , -107 , 64 , 111 - , - 109 + , -109 , 63 - , - 30 + , -30 , 39 , 59 - , - 7 + , -7 , 88 - , - 1 - , - 65 + , -1 + , -65 , 59 , 10 , 127 - , - 57 - , - 99 + , -57 + , -99 , 32 - , - 17 + , -17 , 27 - , - 105 - , - 126 - , - 105 + , -105 + , -126 + , -105 , 35 - , - 63 + , -63 , 88 , 127 - , - 25 - , - 109 + , -25 + , -109 , 10 - , - 81 - , - 113 - , - 91 - , - 64 - , - 17 + , -81 + , -113 + , -91 + , -64 + , -17 , 99 , 111 , 98 , 7 , 75 - , - 119 + , -119 , 24 , 127 - , - 49 + , -49 , 107 , 74 - , - 33 - , - 105 - , - 83 + , -33 + , -105 + , -83 , 32 , 111 , 107 - , - 57 - , - 126 + , -57 + , -126 , 119 - , - 77 + , -77 , 81 - , - 104 - , - 1 + , -104 + , -1 , 119 - , - 61 - , - 54 + , -61 + , -54 , 15 - , - 33 - , - 75 + , -33 + , -75 , 64 , 111 , 51 - , - 97 - , - 30 - , - 25 + , -97 + , -30 + , -25 , 91 , 25 - , - 40 - , - 1 - , - 33 - , - 101 - , - 118 + , -40 + , -1 + , -33 + , -101 + , -118 , 63 , 103 - , - 67 + , -67 , 32 - , - 17 - , - 69 - , - 9 - , - 126 + , -17 + , -69 + , -9 + , -126 , 87 , 67 - , - 31 - , - 40 + , -31 + , -40 , 127 , 7 - , - 13 - , - 118 + , -13 + , -118 , 111 , 47 - , - 59 - , - 64 - , - 17 + , -59 + , -64 + , -17 , 3 - , - 49 + , -49 , 98 - , - 57 + , -57 , 107 - , - 87 - , - 104 + , -87 + , -104 , 127 - , - 17 - , - 53 - , - 54 - , - 97 + , -17 + , -53 + , -54 + , -97 , 55 - , - 51 + , -51 , 32 , 111 , 11 , 39 - , - 126 + , -126 , 55 - , - 45 + , -45 , 113 , 24 - , - 1 - , - 105 + , -1 + , -105 , 35 , 74 - , - 49 + , -49 , 127 - , - 43 + , -43 , 64 , 111 - , - 45 - , - 1 - , - 30 - , - 89 + , -45 + , -1 + , -30 + , -89 , 123 , 57 , 86 diff --git a/.output/actual/bf/eval/logged/tree/Int8Type/theShortestHelloWorld.logged b/.output/actual/bf/eval/logged/tree/Int8Type/theShortestHelloWorld.logged index 79b087918..2f621c8f9 100644 --- a/.output/actual/bf/eval/logged/tree/Int8Type/theShortestHelloWorld.logged +++ b/.output/actual/bf/eval/logged/tree/Int8Type/theShortestHelloWorld.logged @@ -2,7 +2,7 @@ dump: Unit { unitUI = IU [ + , - [ -->- [ >>+>-----<< ] <--<--- ] + [ -->-[ >>+>-----<< ]<--<--- ] , > , - , . @@ -56,9 +56,9 @@ dump: Unit [ 33 , 44 , 108 - , - 84 + , -84 , 100 - , - 103 + , -103 , 0 , 72 , 0 diff --git a/.output/actual/bf/eval/logged/tree/Int8Type/triangle.logged b/.output/actual/bf/eval/logged/tree/Int8Type/triangle.logged index 17b1b2373..2639c54c6 100644 --- a/.output/actual/bf/eval/logged/tree/Int8Type/triangle.logged +++ b/.output/actual/bf/eval/logged/tree/Int8Type/triangle.logged @@ -40,13 +40,13 @@ dump: Unit , < , < , - [ - [ ->+< ] > [ -<+>>>.<< ] >>> + [ -[ ->+< ]>[ -<+>>>.<< ]>>> [ - [ ->++++++++ [ >++++<- ] >.<< [ ->+< ] +> [ ->++++++++++<<+> ] >. [ - ] > ] - ] +<<< - [ - [ ->+< ] +> - [ -<+>>>- [ ->+< ] ++> [ -<-> ] <<< ] <<<< - ] ++++++++++.+++. [ - ] < + [ ->++++++++[ >++++<- ]>.<<[ ->+< ]+>[ ->++++++++++<<+> ]>.[ - ]> ] + ]+<<< + [ -[ ->+< ]+> + [ -<+>>>-[ ->+< ]++>[ -<-> ]<<< ]<<<< + ]++++++++++.+++.[ - ]< ] , + , + diff --git a/.output/actual/bf/eval/logged/tree/Int8Type/value256.logged b/.output/actual/bf/eval/logged/tree/Int8Type/value256.logged index 6e9e468ea..b692c3a42 100644 --- a/.output/actual/bf/eval/logged/tree/Int8Type/value256.logged +++ b/.output/actual/bf/eval/logged/tree/Int8Type/value256.logged @@ -14,13 +14,13 @@ dump: Unit , + , < , - [ >-< [ >++++<- ] > [ <++++++++>- ] < [ >++++++++<- ] +> - [ >++++++++++ [ >+++++<- ] >+.-. [ - ] << [ - ] <-> ] < - [ >>+++++++ [ >+++++++<- ] >.+++++. [ - ] <<<- ] + [ >-<[ >++++<- ]>[ <++++++++>- ]<[ >++++++++<- ]+> + [ >++++++++++[ >+++++<- ]>+.-.[ - ]<<[ - ]<-> ]< + [ >>+++++++[ >+++++++<- ]>.+++++.[ - ]<<<- ] ] , > , - [ >++++++++ [ >+++++++<- ] >. [ - ] <<- ] + [ >++++++++[ >+++++++<- ]>.[ - ]<<- ] , < , + , + @@ -85,7 +85,7 @@ dump: Unit , - , . , - [ [ - ] < ] + [ [ - ]< ] ] 81 , unitTape = ( diff --git a/.output/actual/bf/eval/logged/tree/Word16Type/99botles.logged b/.output/actual/bf/eval/logged/tree/Word16Type/99botles.logged index c562a1386..d1180fbc0 100644 --- a/.output/actual/bf/eval/logged/tree/Word16Type/99botles.logged +++ b/.output/actual/bf/eval/logged/tree/Word16Type/99botles.logged @@ -13,19 +13,19 @@ dump: Unit , [ <+++++++++++>- ] , < , - [ > [ - ] > [ - ] << [ >+>+<<- ] >> [ <<+>>- ] >>> [ - ] <<<+++++++++< + [ >[ - ]>[ - ]<<[ >+>+<<- ]>>[ <<+>>- ]>>>[ - ]<<<+++++++++< [ >>>+<< - [ >+> [ - ] <<- ] > [ <+>- ] > [ <<++++++++++>>>+<- ] <<-<- - ] +++++++++> [ <->- ] >>+> - [ < [ - ] <<+>>>- ] > [ - ] +<< [ >+>-<<- ] <<< [ >>+>+<<<- ] >>> [ <<<+>>>- ] > [ <+>- ] <<- - [ > [ - ] < [ - ] ] >>+< - [ > [ - ] <- ] <++++++++ [ <++++++<++++++>>- ] >>> [ >+>+<<- ] >> [ <<+>>- ] < [ <<<<<.>>>>>- ] <<<<<<.>> [ - ] > [ - ] ++++ [ <++++++++>- ] <.>++++ [ <++++++++>- ] <++.>+++++ [ <+++++++++>- ] <.><+++++..--------.-------.>> [ >>+>+<<<- ] >>> [ <<<+>>>- ] < [ <<<<++++++++++++++.>>>>- ] <<<< [ - ] >++++ [ <++++++++>- ] <.>+++++++++ [ <+++++++++>- ] <--.---------.>+++++++ [ <---------->- ] <.>++++++ [ <+++++++++++>- ] <.+++..+++++++++++++.>++++++++ [ <---------->- ] <--.>+++++++++ [ <+++++++++>- ] <--.-.>++++++++ [ <---------->- ] <++.>++++++++ [ <++++++++++>- ] <++++.------------.---.>+++++++ [ <---------->- ] <+.>++++++++ [ <+++++++++++>- ] <-.>++ [ <----------->- ] <.+++++++++++..>+++++++++ [ <---------->- ] <-----.---.>>> [ >+>+<<- ] >> [ <<+>>- ] < [ <<<<<.>>>>>- ] <<<<<<.>>>++++ [ <++++++>- ] <--.>++++ [ <++++++++>- ] <++.>+++++ [ <+++++++++>- ] <.><+++++..--------.-------.>> [ >>+>+<<<- ] >>> [ <<<+>>>- ] < [ <<<<++++++++++++++.>>>>- ] <<<< [ - ] >++++ [ <++++++++>- ] <.>+++++++++ [ <+++++++++>- ] <--.---------.>+++++++ [ <---------->- ] <.>++++++ [ <+++++++++++>- ] <.+++..+++++++++++++.>++++++++++ [ <---------->- ] <-.---.>+++++++ [ <++++++++++>- ] <++++.+++++++++++++.++++++++++.------.>+++++++ [ <---------->- ] <+.>++++++++ [ <++++++++++>- ] <-.-.---------.>+++++++ [ <---------->- ] <+.>+++++++ [ <++++++++++>- ] <--.+++++++++++.++++++++.---------.>++++++++ [ <---------->- ] <++.>+++++ [ <+++++++++++++>- ] <.+++++++++++++.----------.>+++++++ [ <---------->- ] <++.>++++++++ [ <++++++++++>- ] <.>+++ [ <----->- ] <.>+++ [ <++++++>- ] <..>+++++++++ [ <--------->- ] <--.>+++++++ [ <++++++++++>- ] <+++.+++++++++++.>++++++++ [ <----------->- ] <++++.>+++++ [ <+++++++++++++>- ] <.>+++ [ <++++++>- ] <-.---.++++++.-------.----------.>++++++++ [ <----------->- ] <+.---. [ - ] <<<-> [ - ] > [ - ] << [ >+>+<<- ] >> [ <<+>>- ] >>> [ - ] <<<+++++++++< + [ >+>[ - ]<<- ]>[ <+>- ]>[ <<++++++++++>>>+<- ]<<-<- + ]+++++++++>[ <->- ]>>+> + [ <[ - ]<<+>>>- ]>[ - ]+<<[ >+>-<<- ]<<<[ >>+>+<<<- ]>>>[ <<<+>>>- ]>[ <+>- ]<<- + [ >[ - ]<[ - ] ]>>+< + [ >[ - ]<- ]<++++++++[ <++++++<++++++>>- ]>>>[ >+>+<<- ]>>[ <<+>>- ]<[ <<<<<.>>>>>- ]<<<<<<.>>[ - ]>[ - ]++++[ <++++++++>- ]<.>++++[ <++++++++>- ]<++.>+++++[ <+++++++++>- ]<.><+++++..--------.-------.>>[ >>+>+<<<- ]>>>[ <<<+>>>- ]<[ <<<<++++++++++++++.>>>>- ]<<<<[ - ]>++++[ <++++++++>- ]<.>+++++++++[ <+++++++++>- ]<--.---------.>+++++++[ <---------->- ]<.>++++++[ <+++++++++++>- ]<.+++..+++++++++++++.>++++++++[ <---------->- ]<--.>+++++++++[ <+++++++++>- ]<--.-.>++++++++[ <---------->- ]<++.>++++++++[ <++++++++++>- ]<++++.------------.---.>+++++++[ <---------->- ]<+.>++++++++[ <+++++++++++>- ]<-.>++[ <----------->- ]<.+++++++++++..>+++++++++[ <---------->- ]<-----.---.>>>[ >+>+<<- ]>>[ <<+>>- ]<[ <<<<<.>>>>>- ]<<<<<<.>>>++++[ <++++++>- ]<--.>++++[ <++++++++>- ]<++.>+++++[ <+++++++++>- ]<.><+++++..--------.-------.>>[ >>+>+<<<- ]>>>[ <<<+>>>- ]<[ <<<<++++++++++++++.>>>>- ]<<<<[ - ]>++++[ <++++++++>- ]<.>+++++++++[ <+++++++++>- ]<--.---------.>+++++++[ <---------->- ]<.>++++++[ <+++++++++++>- ]<.+++..+++++++++++++.>++++++++++[ <---------->- ]<-.---.>+++++++[ <++++++++++>- ]<++++.+++++++++++++.++++++++++.------.>+++++++[ <---------->- ]<+.>++++++++[ <++++++++++>- ]<-.-.---------.>+++++++[ <---------->- ]<+.>+++++++[ <++++++++++>- ]<--.+++++++++++.++++++++.---------.>++++++++[ <---------->- ]<++.>+++++[ <+++++++++++++>- ]<.+++++++++++++.----------.>+++++++[ <---------->- ]<++.>++++++++[ <++++++++++>- ]<.>+++[ <----->- ]<.>+++[ <++++++>- ]<..>+++++++++[ <--------->- ]<--.>+++++++[ <++++++++++>- ]<+++.+++++++++++.>++++++++[ <----------->- ]<++++.>+++++[ <+++++++++++++>- ]<.>+++[ <++++++>- ]<-.---.++++++.-------.----------.>++++++++[ <----------->- ]<+.---.[ - ]<<<->[ - ]>[ - ]<<[ >+>+<<- ]>>[ <<+>>- ]>>>[ - ]<<<+++++++++< [ >>>+<< - [ >+> [ - ] <<- ] > [ <+>- ] > [ <<++++++++++>>>+<- ] <<-<- - ] +++++++++> [ <->- ] >>+> - [ < [ - ] <<+>>>- ] > [ - ] +<< [ >+>-<<- ] <<< [ >>+>+<<<- ] >>> [ <<<+>>>- ] <>> [ <+>- ] <<- - [ > [ - ] < [ - ] ] >>+< - [ > [ - ] <- ] <++++++++ [ <++++++<++++++>>- ] >>> [ >+>+<<- ] >> [ <<+>>- ] < [ <<<<<.>>>>>- ] <<<<<<.>> [ - ] > [ - ] ++++ [ <++++++++>- ] <.>++++ [ <++++++++>- ] <++.>+++++ [ <+++++++++>- ] <.><+++++..--------.-------.>> [ >>+>+<<<- ] >>> [ <<<+>>>- ] < [ <<<<++++++++++++++.>>>>- ] <<<< [ - ] >++++ [ <++++++++>- ] <.>+++++++++ [ <+++++++++>- ] <--.---------.>+++++++ [ <---------->- ] <.>++++++ [ <+++++++++++>- ] <.+++..+++++++++++++.>++++++++ [ <---------->- ] <--.>+++++++++ [ <+++++++++>- ] <--.-.>++++++++ [ <---------->- ] <++.>++++++++ [ <++++++++++>- ] <++++.------------.---.>+++++++ [ <---------->- ] <+.>++++++++ [ <+++++++++++>- ] <-.>++ [ <----------->- ] <.+++++++++++..>+++++++++ [ <---------->- ] <-----.---.+++.---. [ - ] <<< + [ >+>[ - ]<<- ]>[ <+>- ]>[ <<++++++++++>>>+<- ]<<-<- + ]+++++++++>[ <->- ]>>+> + [ <[ - ]<<+>>>- ]>[ - ]+<<[ >+>-<<- ]<<<[ >>+>+<<<- ]>>>[ <<<+>>>- ]<>>[ <+>- ]<<- + [ >[ - ]<[ - ] ]>>+< + [ >[ - ]<- ]<++++++++[ <++++++<++++++>>- ]>>>[ >+>+<<- ]>>[ <<+>>- ]<[ <<<<<.>>>>>- ]<<<<<<.>>[ - ]>[ - ]++++[ <++++++++>- ]<.>++++[ <++++++++>- ]<++.>+++++[ <+++++++++>- ]<.><+++++..--------.-------.>>[ >>+>+<<<- ]>>>[ <<<+>>>- ]<[ <<<<++++++++++++++.>>>>- ]<<<<[ - ]>++++[ <++++++++>- ]<.>+++++++++[ <+++++++++>- ]<--.---------.>+++++++[ <---------->- ]<.>++++++[ <+++++++++++>- ]<.+++..+++++++++++++.>++++++++[ <---------->- ]<--.>+++++++++[ <+++++++++>- ]<--.-.>++++++++[ <---------->- ]<++.>++++++++[ <++++++++++>- ]<++++.------------.---.>+++++++[ <---------->- ]<+.>++++++++[ <+++++++++++>- ]<-.>++[ <----------->- ]<.+++++++++++..>+++++++++[ <---------->- ]<-----.---.+++.---.[ - ]<<< ] ] 14 , unitTape = diff --git a/.output/actual/bf/eval/logged/tree/Word16Type/fascistHelloWorld.logged b/.output/actual/bf/eval/logged/tree/Word16Type/fascistHelloWorld.logged index b997657fb..20377a10f 100644 --- a/.output/actual/bf/eval/logged/tree/Word16Type/fascistHelloWorld.logged +++ b/.output/actual/bf/eval/logged/tree/Word16Type/fascistHelloWorld.logged @@ -28,7 +28,7 @@ dump: Unit , + , + , - [ > [ ->+++<<+++> ] << ] + [ >[ ->+++<<+++> ]<< ] , > , - , - @@ -55,7 +55,7 @@ dump: Unit , < , + , - [ > [ +>+ ] >> ] + [ >[ +>+ ]>> ] , < , - , - diff --git a/.output/actual/bf/eval/logged/tree/Word16Type/helloWorld.logged b/.output/actual/bf/eval/logged/tree/Word16Type/helloWorld.logged index b0e55304f..a5491570c 100644 --- a/.output/actual/bf/eval/logged/tree/Word16Type/helloWorld.logged +++ b/.output/actual/bf/eval/logged/tree/Word16Type/helloWorld.logged @@ -9,7 +9,7 @@ dump: Unit , + , + , - [ >++++ [ >++>+++>+++>+<<<<- ] >+>+>->>+ [ < ] <- ] + [ >++++[ >++>+++>+++>+<<<<- ]>+>+>->>+[ < ]<- ] , > , > , . diff --git a/.output/actual/bf/eval/logged/tree/Word16Type/triangle.logged b/.output/actual/bf/eval/logged/tree/Word16Type/triangle.logged index 17b1b2373..2639c54c6 100644 --- a/.output/actual/bf/eval/logged/tree/Word16Type/triangle.logged +++ b/.output/actual/bf/eval/logged/tree/Word16Type/triangle.logged @@ -40,13 +40,13 @@ dump: Unit , < , < , - [ - [ ->+< ] > [ -<+>>>.<< ] >>> + [ -[ ->+< ]>[ -<+>>>.<< ]>>> [ - [ ->++++++++ [ >++++<- ] >.<< [ ->+< ] +> [ ->++++++++++<<+> ] >. [ - ] > ] - ] +<<< - [ - [ ->+< ] +> - [ -<+>>>- [ ->+< ] ++> [ -<-> ] <<< ] <<<< - ] ++++++++++.+++. [ - ] < + [ ->++++++++[ >++++<- ]>.<<[ ->+< ]+>[ ->++++++++++<<+> ]>.[ - ]> ] + ]+<<< + [ -[ ->+< ]+> + [ -<+>>>-[ ->+< ]++>[ -<-> ]<<< ]<<<< + ]++++++++++.+++.[ - ]< ] , + , + diff --git a/.output/actual/bf/eval/logged/tree/Word8Type/99botles.logged b/.output/actual/bf/eval/logged/tree/Word8Type/99botles.logged index c562a1386..d1180fbc0 100644 --- a/.output/actual/bf/eval/logged/tree/Word8Type/99botles.logged +++ b/.output/actual/bf/eval/logged/tree/Word8Type/99botles.logged @@ -13,19 +13,19 @@ dump: Unit , [ <+++++++++++>- ] , < , - [ > [ - ] > [ - ] << [ >+>+<<- ] >> [ <<+>>- ] >>> [ - ] <<<+++++++++< + [ >[ - ]>[ - ]<<[ >+>+<<- ]>>[ <<+>>- ]>>>[ - ]<<<+++++++++< [ >>>+<< - [ >+> [ - ] <<- ] > [ <+>- ] > [ <<++++++++++>>>+<- ] <<-<- - ] +++++++++> [ <->- ] >>+> - [ < [ - ] <<+>>>- ] > [ - ] +<< [ >+>-<<- ] <<< [ >>+>+<<<- ] >>> [ <<<+>>>- ] > [ <+>- ] <<- - [ > [ - ] < [ - ] ] >>+< - [ > [ - ] <- ] <++++++++ [ <++++++<++++++>>- ] >>> [ >+>+<<- ] >> [ <<+>>- ] < [ <<<<<.>>>>>- ] <<<<<<.>> [ - ] > [ - ] ++++ [ <++++++++>- ] <.>++++ [ <++++++++>- ] <++.>+++++ [ <+++++++++>- ] <.><+++++..--------.-------.>> [ >>+>+<<<- ] >>> [ <<<+>>>- ] < [ <<<<++++++++++++++.>>>>- ] <<<< [ - ] >++++ [ <++++++++>- ] <.>+++++++++ [ <+++++++++>- ] <--.---------.>+++++++ [ <---------->- ] <.>++++++ [ <+++++++++++>- ] <.+++..+++++++++++++.>++++++++ [ <---------->- ] <--.>+++++++++ [ <+++++++++>- ] <--.-.>++++++++ [ <---------->- ] <++.>++++++++ [ <++++++++++>- ] <++++.------------.---.>+++++++ [ <---------->- ] <+.>++++++++ [ <+++++++++++>- ] <-.>++ [ <----------->- ] <.+++++++++++..>+++++++++ [ <---------->- ] <-----.---.>>> [ >+>+<<- ] >> [ <<+>>- ] < [ <<<<<.>>>>>- ] <<<<<<.>>>++++ [ <++++++>- ] <--.>++++ [ <++++++++>- ] <++.>+++++ [ <+++++++++>- ] <.><+++++..--------.-------.>> [ >>+>+<<<- ] >>> [ <<<+>>>- ] < [ <<<<++++++++++++++.>>>>- ] <<<< [ - ] >++++ [ <++++++++>- ] <.>+++++++++ [ <+++++++++>- ] <--.---------.>+++++++ [ <---------->- ] <.>++++++ [ <+++++++++++>- ] <.+++..+++++++++++++.>++++++++++ [ <---------->- ] <-.---.>+++++++ [ <++++++++++>- ] <++++.+++++++++++++.++++++++++.------.>+++++++ [ <---------->- ] <+.>++++++++ [ <++++++++++>- ] <-.-.---------.>+++++++ [ <---------->- ] <+.>+++++++ [ <++++++++++>- ] <--.+++++++++++.++++++++.---------.>++++++++ [ <---------->- ] <++.>+++++ [ <+++++++++++++>- ] <.+++++++++++++.----------.>+++++++ [ <---------->- ] <++.>++++++++ [ <++++++++++>- ] <.>+++ [ <----->- ] <.>+++ [ <++++++>- ] <..>+++++++++ [ <--------->- ] <--.>+++++++ [ <++++++++++>- ] <+++.+++++++++++.>++++++++ [ <----------->- ] <++++.>+++++ [ <+++++++++++++>- ] <.>+++ [ <++++++>- ] <-.---.++++++.-------.----------.>++++++++ [ <----------->- ] <+.---. [ - ] <<<-> [ - ] > [ - ] << [ >+>+<<- ] >> [ <<+>>- ] >>> [ - ] <<<+++++++++< + [ >+>[ - ]<<- ]>[ <+>- ]>[ <<++++++++++>>>+<- ]<<-<- + ]+++++++++>[ <->- ]>>+> + [ <[ - ]<<+>>>- ]>[ - ]+<<[ >+>-<<- ]<<<[ >>+>+<<<- ]>>>[ <<<+>>>- ]>[ <+>- ]<<- + [ >[ - ]<[ - ] ]>>+< + [ >[ - ]<- ]<++++++++[ <++++++<++++++>>- ]>>>[ >+>+<<- ]>>[ <<+>>- ]<[ <<<<<.>>>>>- ]<<<<<<.>>[ - ]>[ - ]++++[ <++++++++>- ]<.>++++[ <++++++++>- ]<++.>+++++[ <+++++++++>- ]<.><+++++..--------.-------.>>[ >>+>+<<<- ]>>>[ <<<+>>>- ]<[ <<<<++++++++++++++.>>>>- ]<<<<[ - ]>++++[ <++++++++>- ]<.>+++++++++[ <+++++++++>- ]<--.---------.>+++++++[ <---------->- ]<.>++++++[ <+++++++++++>- ]<.+++..+++++++++++++.>++++++++[ <---------->- ]<--.>+++++++++[ <+++++++++>- ]<--.-.>++++++++[ <---------->- ]<++.>++++++++[ <++++++++++>- ]<++++.------------.---.>+++++++[ <---------->- ]<+.>++++++++[ <+++++++++++>- ]<-.>++[ <----------->- ]<.+++++++++++..>+++++++++[ <---------->- ]<-----.---.>>>[ >+>+<<- ]>>[ <<+>>- ]<[ <<<<<.>>>>>- ]<<<<<<.>>>++++[ <++++++>- ]<--.>++++[ <++++++++>- ]<++.>+++++[ <+++++++++>- ]<.><+++++..--------.-------.>>[ >>+>+<<<- ]>>>[ <<<+>>>- ]<[ <<<<++++++++++++++.>>>>- ]<<<<[ - ]>++++[ <++++++++>- ]<.>+++++++++[ <+++++++++>- ]<--.---------.>+++++++[ <---------->- ]<.>++++++[ <+++++++++++>- ]<.+++..+++++++++++++.>++++++++++[ <---------->- ]<-.---.>+++++++[ <++++++++++>- ]<++++.+++++++++++++.++++++++++.------.>+++++++[ <---------->- ]<+.>++++++++[ <++++++++++>- ]<-.-.---------.>+++++++[ <---------->- ]<+.>+++++++[ <++++++++++>- ]<--.+++++++++++.++++++++.---------.>++++++++[ <---------->- ]<++.>+++++[ <+++++++++++++>- ]<.+++++++++++++.----------.>+++++++[ <---------->- ]<++.>++++++++[ <++++++++++>- ]<.>+++[ <----->- ]<.>+++[ <++++++>- ]<..>+++++++++[ <--------->- ]<--.>+++++++[ <++++++++++>- ]<+++.+++++++++++.>++++++++[ <----------->- ]<++++.>+++++[ <+++++++++++++>- ]<.>+++[ <++++++>- ]<-.---.++++++.-------.----------.>++++++++[ <----------->- ]<+.---.[ - ]<<<->[ - ]>[ - ]<<[ >+>+<<- ]>>[ <<+>>- ]>>>[ - ]<<<+++++++++< [ >>>+<< - [ >+> [ - ] <<- ] > [ <+>- ] > [ <<++++++++++>>>+<- ] <<-<- - ] +++++++++> [ <->- ] >>+> - [ < [ - ] <<+>>>- ] > [ - ] +<< [ >+>-<<- ] <<< [ >>+>+<<<- ] >>> [ <<<+>>>- ] <>> [ <+>- ] <<- - [ > [ - ] < [ - ] ] >>+< - [ > [ - ] <- ] <++++++++ [ <++++++<++++++>>- ] >>> [ >+>+<<- ] >> [ <<+>>- ] < [ <<<<<.>>>>>- ] <<<<<<.>> [ - ] > [ - ] ++++ [ <++++++++>- ] <.>++++ [ <++++++++>- ] <++.>+++++ [ <+++++++++>- ] <.><+++++..--------.-------.>> [ >>+>+<<<- ] >>> [ <<<+>>>- ] < [ <<<<++++++++++++++.>>>>- ] <<<< [ - ] >++++ [ <++++++++>- ] <.>+++++++++ [ <+++++++++>- ] <--.---------.>+++++++ [ <---------->- ] <.>++++++ [ <+++++++++++>- ] <.+++..+++++++++++++.>++++++++ [ <---------->- ] <--.>+++++++++ [ <+++++++++>- ] <--.-.>++++++++ [ <---------->- ] <++.>++++++++ [ <++++++++++>- ] <++++.------------.---.>+++++++ [ <---------->- ] <+.>++++++++ [ <+++++++++++>- ] <-.>++ [ <----------->- ] <.+++++++++++..>+++++++++ [ <---------->- ] <-----.---.+++.---. [ - ] <<< + [ >+>[ - ]<<- ]>[ <+>- ]>[ <<++++++++++>>>+<- ]<<-<- + ]+++++++++>[ <->- ]>>+> + [ <[ - ]<<+>>>- ]>[ - ]+<<[ >+>-<<- ]<<<[ >>+>+<<<- ]>>>[ <<<+>>>- ]<>>[ <+>- ]<<- + [ >[ - ]<[ - ] ]>>+< + [ >[ - ]<- ]<++++++++[ <++++++<++++++>>- ]>>>[ >+>+<<- ]>>[ <<+>>- ]<[ <<<<<.>>>>>- ]<<<<<<.>>[ - ]>[ - ]++++[ <++++++++>- ]<.>++++[ <++++++++>- ]<++.>+++++[ <+++++++++>- ]<.><+++++..--------.-------.>>[ >>+>+<<<- ]>>>[ <<<+>>>- ]<[ <<<<++++++++++++++.>>>>- ]<<<<[ - ]>++++[ <++++++++>- ]<.>+++++++++[ <+++++++++>- ]<--.---------.>+++++++[ <---------->- ]<.>++++++[ <+++++++++++>- ]<.+++..+++++++++++++.>++++++++[ <---------->- ]<--.>+++++++++[ <+++++++++>- ]<--.-.>++++++++[ <---------->- ]<++.>++++++++[ <++++++++++>- ]<++++.------------.---.>+++++++[ <---------->- ]<+.>++++++++[ <+++++++++++>- ]<-.>++[ <----------->- ]<.+++++++++++..>+++++++++[ <---------->- ]<-----.---.+++.---.[ - ]<<< ] ] 14 , unitTape = diff --git a/.output/actual/bf/eval/logged/tree/Word8Type/fascistHelloWorld.logged b/.output/actual/bf/eval/logged/tree/Word8Type/fascistHelloWorld.logged index b997657fb..20377a10f 100644 --- a/.output/actual/bf/eval/logged/tree/Word8Type/fascistHelloWorld.logged +++ b/.output/actual/bf/eval/logged/tree/Word8Type/fascistHelloWorld.logged @@ -28,7 +28,7 @@ dump: Unit , + , + , - [ > [ ->+++<<+++> ] << ] + [ >[ ->+++<<+++> ]<< ] , > , - , - @@ -55,7 +55,7 @@ dump: Unit , < , + , - [ > [ +>+ ] >> ] + [ >[ +>+ ]>> ] , < , - , - diff --git a/.output/actual/bf/eval/logged/tree/Word8Type/fibonacci.logged b/.output/actual/bf/eval/logged/tree/Word8Type/fibonacci.logged index 2f9af11ef..91b73fe52 100644 --- a/.output/actual/bf/eval/logged/tree/Word8Type/fibonacci.logged +++ b/.output/actual/bf/eval/logged/tree/Word8Type/fibonacci.logged @@ -104,17 +104,17 @@ dump: Unit , < , < , - [ > [ >>>>>>+>+<<<<<<<- ] >>>>>>> [ <<<<<<<+>>>>>>>- ] < + [ >[ >>>>>>+>+<<<<<<<- ]>>>>>>>[ <<<<<<<+>>>>>>>- ]< [ >++++++++++ - [ -<- [ >>+>+<<<- ] >>> [ <<<+>>>- ] +< - [ > [ - ] < [ - ] ] > - [ << [ >>>+<<<- ] >> [ - ] ] << - ] >>> [ >>+>+<<<- ] >>> [ <<<+>>>- ] +< - [ > [ - ] < [ - ] ] > - [ <<+>> [ - ] ] <<<<<<< - ] >>>>> - [ ++++++++++++++++++++++++++++++++++++++++++++++++. [ - ] ] ++++++++++< [ ->-< ] >++++++++++++++++++++++++++++++++++++++++++++++++. [ - ] <<<<<<<<<<<< [ >>>+>+<<<<- ] >>>> [ <<<<+>>>>- ] <- - [ >>.>.<<< [ - ] ] << [ >>+>+<<<- ] >>> [ <<<+>>>- ] << [ <+>- ] > [ <+>- ] <<<- + [ -<-[ >>+>+<<<- ]>>>[ <<<+>>>- ]+< + [ >[ - ]<[ - ] ]> + [ <<[ >>>+<<<- ]>>[ - ] ]<< + ]>>>[ >>+>+<<<- ]>>>[ <<<+>>>- ]+< + [ >[ - ]<[ - ] ]> + [ <<+>>[ - ] ]<<<<<<< + ]>>>>> + [ ++++++++++++++++++++++++++++++++++++++++++++++++.[ - ] ]++++++++++<[ ->-< ]>++++++++++++++++++++++++++++++++++++++++++++++++.[ - ]<<<<<<<<<<<<[ >>>+>+<<<<- ]>>>>[ <<<<+>>>>- ]<- + [ >>.>.<<<[ - ] ]<<[ >>+>+<<<- ]>>>[ <<<+>>>- ]<<[ <+>- ]>[ <+>- ]<<<- ] , + , + @@ -217,17 +217,17 @@ dump: Unit , < , < , - [ > [ >>>>>>+>+<<<<<<<- ] >>>>>>> [ <<<<<<<+>>>>>>>- ] < + [ >[ >>>>>>+>+<<<<<<<- ]>>>>>>>[ <<<<<<<+>>>>>>>- ]< [ >++++++++++ - [ -<- [ >>+>+<<<- ] >>> [ <<<+>>>- ] +< - [ > [ - ] < [ - ] ] > - [ << [ >>>+<<<- ] >> [ - ] ] << - ] >>> [ >>+>+<<<- ] >>> [ <<<+>>>- ] +< - [ > [ - ] < [ - ] ] > - [ <<+>> [ - ] ] <<<<<<< - ] >>>>> - [ ++++++++++++++++++++++++++++++++++++++++++++++++. [ - ] ] ++++++++++< [ ->-< ] >++++++++++++++++++++++++++++++++++++++++++++++++. [ - ] <<<<<<<<<<<< [ >>>+>+<<<<- ] >>>> [ <<<<+>>>>- ] <- - [ >>.>.<<< [ - ] ] << [ >>+>+<<<- ] >>> [ <<<+>>>- ] << [ <+>- ] > [ <+>- ] <<<- + [ -<-[ >>+>+<<<- ]>>>[ <<<+>>>- ]+< + [ >[ - ]<[ - ] ]> + [ <<[ >>>+<<<- ]>>[ - ] ]<< + ]>>>[ >>+>+<<<- ]>>>[ <<<+>>>- ]+< + [ >[ - ]<[ - ] ]> + [ <<+>>[ - ] ]<<<<<<< + ]>>>>> + [ ++++++++++++++++++++++++++++++++++++++++++++++++.[ - ] ]++++++++++<[ ->-< ]>++++++++++++++++++++++++++++++++++++++++++++++++.[ - ]<<<<<<<<<<<<[ >>>+>+<<<<- ]>>>>[ <<<<+>>>>- ]<- + [ >>.>.<<<[ - ] ]<<[ >>+>+<<<- ]>>>[ <<<+>>>- ]<<[ <+>- ]>[ <+>- ]<<<- ] ] 209 , unitTape = diff --git a/.output/actual/bf/eval/logged/tree/Word8Type/helloWorld.logged b/.output/actual/bf/eval/logged/tree/Word8Type/helloWorld.logged index b0e55304f..a5491570c 100644 --- a/.output/actual/bf/eval/logged/tree/Word8Type/helloWorld.logged +++ b/.output/actual/bf/eval/logged/tree/Word8Type/helloWorld.logged @@ -9,7 +9,7 @@ dump: Unit , + , + , - [ >++++ [ >++>+++>+++>+<<<<- ] >+>+>->>+ [ < ] <- ] + [ >++++[ >++>+++>+++>+<<<<- ]>+>+>->>+[ < ]<- ] , > , > , . diff --git a/.output/actual/bf/eval/logged/tree/Word8Type/padHelloWorld.logged b/.output/actual/bf/eval/logged/tree/Word8Type/padHelloWorld.logged index 514bd5bd0..28677a5cd 100644 --- a/.output/actual/bf/eval/logged/tree/Word8Type/padHelloWorld.logged +++ b/.output/actual/bf/eval/logged/tree/Word8Type/padHelloWorld.logged @@ -8,7 +8,7 @@ dump: Unit , < , + , - [ + [ <+>--->->->-<<< ] > ] + [ +[ <+>--->->->-<<< ]> ] , < , < , - diff --git a/.output/actual/bf/eval/logged/tree/Word8Type/theShortestHelloWorld.logged b/.output/actual/bf/eval/logged/tree/Word8Type/theShortestHelloWorld.logged index cbe627633..dc354e6b2 100644 --- a/.output/actual/bf/eval/logged/tree/Word8Type/theShortestHelloWorld.logged +++ b/.output/actual/bf/eval/logged/tree/Word8Type/theShortestHelloWorld.logged @@ -2,7 +2,7 @@ dump: Unit { unitUI = IU [ + , - [ -->- [ >>+>-----<< ] <--<--- ] + [ -->-[ >>+>-----<< ]<--<--- ] , > , - , . diff --git a/.output/actual/bf/eval/logged/tree/Word8Type/triangle.logged b/.output/actual/bf/eval/logged/tree/Word8Type/triangle.logged index 17b1b2373..2639c54c6 100644 --- a/.output/actual/bf/eval/logged/tree/Word8Type/triangle.logged +++ b/.output/actual/bf/eval/logged/tree/Word8Type/triangle.logged @@ -40,13 +40,13 @@ dump: Unit , < , < , - [ - [ ->+< ] > [ -<+>>>.<< ] >>> + [ -[ ->+< ]>[ -<+>>>.<< ]>>> [ - [ ->++++++++ [ >++++<- ] >.<< [ ->+< ] +> [ ->++++++++++<<+> ] >. [ - ] > ] - ] +<<< - [ - [ ->+< ] +> - [ -<+>>>- [ ->+< ] ++> [ -<-> ] <<< ] <<<< - ] ++++++++++.+++. [ - ] < + [ ->++++++++[ >++++<- ]>.<<[ ->+< ]+>[ ->++++++++++<<+> ]>.[ - ]> ] + ]+<<< + [ -[ ->+< ]+> + [ -<+>>>-[ ->+< ]++>[ -<-> ]<<< ]<<<< + ]++++++++++.+++.[ - ]< ] , + , + diff --git a/.output/actual/bf/eval/logged/tree/Word8Type/value256.logged b/.output/actual/bf/eval/logged/tree/Word8Type/value256.logged index 6e9e468ea..b692c3a42 100644 --- a/.output/actual/bf/eval/logged/tree/Word8Type/value256.logged +++ b/.output/actual/bf/eval/logged/tree/Word8Type/value256.logged @@ -14,13 +14,13 @@ dump: Unit , + , < , - [ >-< [ >++++<- ] > [ <++++++++>- ] < [ >++++++++<- ] +> - [ >++++++++++ [ >+++++<- ] >+.-. [ - ] << [ - ] <-> ] < - [ >>+++++++ [ >+++++++<- ] >.+++++. [ - ] <<<- ] + [ >-<[ >++++<- ]>[ <++++++++>- ]<[ >++++++++<- ]+> + [ >++++++++++[ >+++++<- ]>+.-.[ - ]<<[ - ]<-> ]< + [ >>+++++++[ >+++++++<- ]>.+++++.[ - ]<<<- ] ] , > , - [ >++++++++ [ >+++++++<- ] >. [ - ] <<- ] + [ >++++++++[ >+++++++<- ]>.[ - ]<<- ] , < , + , + @@ -85,7 +85,7 @@ dump: Unit , - , . , - [ [ - ] < ] + [ [ - ]< ] ] 81 , unitTape = ( diff --git a/.output/actual/sq/eval/logged/esolangs/helloWorld.logged b/.output/actual/sq/eval/logged/esolangs/helloWorld.logged index 953788ee0..b866e5a24 100644 --- a/.output/actual/sq/eval/logged/esolangs/helloWorld.logged +++ b/.output/actual/sq/eval/logged/esolangs/helloWorld.logged @@ -1,5 +1,5 @@ dump: Unit - { unitIU = - 1 + { unitIU = -1 , unitRAM = [ 12 , 12 @@ -14,7 +14,7 @@ dump: Unit , 37 , 12 , 0 - , - 1 + , -1 , 15 , 38 , 36 @@ -33,13 +33,13 @@ dump: Unit , 30 , 36 , 12 - , - 1 + , -1 , 37 , 37 , 0 , 53 , 0 - , - 1 + , -1 , 72 , 101 , 108 diff --git a/.output/actual/sq/eval/logged/hello.logged b/.output/actual/sq/eval/logged/hello.logged index e1c8ab42f..de835a2da 100644 --- a/.output/actual/sq/eval/logged/hello.logged +++ b/.output/actual/sq/eval/logged/hello.logged @@ -1,23 +1,23 @@ dump: Unit - { unitIU = - 1 + { unitIU = -1 , unitRAM = [ 15 , 31 - , - 1 + , -1 , 31 - , - 1 - , - 1 + , -1 + , -1 , 16 , 1 - , - 1 + , -1 , 16 , 3 - , - 1 + , -1 , 15 , 15 , 0 , 0 - , - 1 + , -1 , 72 , 101 , 108 diff --git a/.output/actual/sq/eval/logged/longHello.logged b/.output/actual/sq/eval/logged/longHello.logged index e1c8ab42f..de835a2da 100644 --- a/.output/actual/sq/eval/logged/longHello.logged +++ b/.output/actual/sq/eval/logged/longHello.logged @@ -1,23 +1,23 @@ dump: Unit - { unitIU = - 1 + { unitIU = -1 , unitRAM = [ 15 , 31 - , - 1 + , -1 , 31 - , - 1 - , - 1 + , -1 + , -1 , 16 , 1 - , - 1 + , -1 , 16 , 3 - , - 1 + , -1 , 15 , 15 , 0 , 0 - , - 1 + , -1 , 72 , 101 , 108 diff --git a/.output/actual/sq/eval/logged/mazonka/factorial.logged b/.output/actual/sq/eval/logged/mazonka/factorial.logged index 10b4c2571..91442e7b7 100644 --- a/.output/actual/sq/eval/logged/mazonka/factorial.logged +++ b/.output/actual/sq/eval/logged/mazonka/factorial.logged @@ -1,5 +1,5 @@ dump: Unit - { unitIU = - 1 + { unitIU = -1 , unitRAM = [ 0 , 0 @@ -2887,7 +2887,7 @@ dump: Unit , 8865 , 2885 , 8865 - , - 1 + , -1 , 2888 , 8870 , 8870 @@ -3016,7 +3016,7 @@ dump: Unit , 8867 , 3020 , 8851 - , - 1 + , -1 , 3017 , 8870 , 8870 @@ -3223,7 +3223,7 @@ dump: Unit , 8865 , 3221 , 8865 - , - 1 + , -1 , 3224 , 8870 , 8870 @@ -5618,7 +5618,7 @@ dump: Unit , 8864 , 5616 , 8864 - , - 1 + , -1 , 5619 , 8870 , 8870 @@ -6020,7 +6020,7 @@ dump: Unit , 8865 , 6160 , 8853 - , - 1 + , -1 , 6021 , 8864 , 8864 @@ -6337,7 +6337,7 @@ dump: Unit , 8870 , 6347 , 8854 - , - 1 + , -1 , 6338 , 8872 , 8872 @@ -8653,7 +8653,7 @@ dump: Unit , 8864 , 8651 , 8864 - , - 1 + , -1 , 8654 , 8864 , 8864 @@ -8841,10 +8841,10 @@ dump: Unit , 8838 , 8870 , 8870 - , - 1 - , - 2 - , - 3 - , - 4 + , -1 + , -2 + , -3 + , -4 , 0 , 10 , 100 @@ -8870,223 +8870,223 @@ dump: Unit , 0 , 0 , 0 - , - 1 + , -1 , 0 , 1 - , - 13 + , -13 , 0 - , - 8874 - , - 8835 + , -8874 + , -8835 , 0 , 0 , 479001600 , 8861 - , - 763 - , - 8876 + , -763 + , -8876 , 13 , 1 - , - 479001600 + , -479001600 , 0 , 0 , 0 , 479001600 - , - 3814 - , - 8881 - , - 479001600 + , -3814 + , -8881 + , -479001600 , 479001600 , 1 - , - 8878 + , -8878 , 479001600 - , - 6317 - , - 8890 + , -6317 + , -8890 , 8 , 0 , 479001600 - , - 8888 - , - 479001600 + , -8888 + , -479001600 , 47900160 - , - 8537 - , - 8897 + , -8537 + , -8897 , 7 , 0 , 47900160 - , - 8898 - , - 47900160 + , -8898 + , -47900160 , 4790016 - , - 8537 - , - 8905 + , -8537 + , -8905 , 6 , 6 , 4790016 - , - 8906 - , - 4790016 + , -8906 + , -4790016 , 479001 - , - 8537 - , - 8913 + , -8537 + , -8913 , 5 , 1 , 479001 - , - 8914 - , - 479001 + , -8914 + , -479001 , 47900 - , - 8537 - , - 8921 + , -8537 + , -8921 , 4 , 0 , 47900 - , - 8922 - , - 47900 + , -8922 + , -47900 , 4790 - , - 8537 - , - 8929 + , -8537 + , -8929 , 3 , 0 , 4790 - , - 8930 - , - 4790 + , -8930 + , -4790 , 479 - , - 8537 - , - 8937 + , -8537 + , -8937 , 2 , 9 , 479 - , - 8938 - , - 479 + , -8938 + , -479 , 47 - , - 8537 - , - 8945 + , -8537 + , -8945 , 1 , 7 , 47 - , - 8946 - , - 47 + , -8946 + , -47 , 4 - , - 8537 - , - 8953 + , -8537 + , -8953 , 0 , 4 , 4 - , - 8954 - , - 4 + , -8954 + , -4 , 0 - , - 8537 - , - 8961 - , - 8377 - , - 8961 + , -8537 + , -8961 + , -8377 + , -8961 , 0 - , - 8962 + , -8962 , 0 , 7 - , - 8959 + , -8959 , 4 - , - 4 - , - 479001600 + , -4 + , -479001600 , 0 , 79 , 40 - , - 7 - , - 4 - , - 47 - , - 40 + , -7 + , -4 + , -47 + , -40 , 4 , 80 - , - 79 - , - 8 - , - 159 - , - 80 + , -79 + , -8 + , -159 + , -80 , 8947 , 10 , 39 - , - 7875 - , - 8983 + , -7875 + , -8983 , 40 , 4 , 20 , 2 , 40 - , - 39 - , - 4 - , - 79 - , - 40 + , -39 + , -4 + , -79 + , -40 , 8947 , 10 , 19 - , - 7875 - , - 8997 + , -7875 + , -8997 , 20 , 2 , 10 , 1 , 20 - , - 19 - , - 2 - , - 39 - , - 20 + , -19 + , -2 + , -39 + , -20 , 8947 , 10 , 9 - , - 7875 - , - 9011 - , - 80 + , -7875 + , -9011 + , -80 , 8939 , 10 , 30 , 10 - , - 9 - , - 1 - , - 19 - , - 10 + , -9 + , -1 + , -19 + , -10 , 2 , 40 - , - 30 - , - 4 - , - 70 - , - 40 + , -30 + , -4 + , -70 + , -40 , 8939 , 10 , 10 - , - 7875 - , - 9031 + , -7875 + , -9031 , 20 , 2 , 10 , 1 , 20 - , - 10 - , - 2 - , - 30 - , - 20 + , -10 + , -2 + , -30 + , -20 , 8939 , 10 , 0 - , - 7875 - , - 9045 + , -7875 + , -9045 , 10 , 16 , 40 - , - 1 + , -1 , 10 , 0 - , - 1 - , - 10 - , - 10 - , - 16 - , - 8 - , - 96 - , - 80 + , -1 + , -10 + , -10 + , -16 + , -8 + , -96 + , -80 , 8915 , 10 , 6 - , - 7875 - , - 9063 + , -7875 + , -9063 , 0 , 0 , 0 , 0 , 10 - , - 6 - , - 1 - , - 16 - , - 10 + , -6 + , -1 + , -16 + , -10 ] } diff --git a/.output/actual/sq/eval/logged/mazonka/helloWorld.logged b/.output/actual/sq/eval/logged/mazonka/helloWorld.logged index 953788ee0..b866e5a24 100644 --- a/.output/actual/sq/eval/logged/mazonka/helloWorld.logged +++ b/.output/actual/sq/eval/logged/mazonka/helloWorld.logged @@ -1,5 +1,5 @@ dump: Unit - { unitIU = - 1 + { unitIU = -1 , unitRAM = [ 12 , 12 @@ -14,7 +14,7 @@ dump: Unit , 37 , 12 , 0 - , - 1 + , -1 , 15 , 38 , 36 @@ -33,13 +33,13 @@ dump: Unit , 30 , 36 , 12 - , - 1 + , -1 , 37 , 37 , 0 , 53 , 0 - , - 1 + , -1 , 72 , 101 , 108 diff --git a/.output/actual/sq/eval/logged/mazonka/hi.logged b/.output/actual/sq/eval/logged/mazonka/hi.logged index f06a96fc8..4167effe6 100644 --- a/.output/actual/sq/eval/logged/mazonka/hi.logged +++ b/.output/actual/sq/eval/logged/mazonka/hi.logged @@ -1,15 +1,15 @@ dump: Unit - { unitIU = - 1 + { unitIU = -1 , unitRAM = [ 0 - , - 1 + , -1 , 3 , 10 - , - 1 + , -1 , 6 , 0 , 0 - , - 1 + , -1 , 72 , 105 ] diff --git "a/.output/actual/ws/eval/logged/stn/asciiOff/original/calc-1\n.logged" "b/.output/actual/ws/eval/logged/stn/asciiOff/original/calc-1\n.logged" index 39178b0e9..c181b45e4 100644 --- "a/.output/actual/ws/eval/logged/stn/asciiOff/original/calc-1\n.logged" +++ "b/.output/actual/ws/eval/logged/stn/asciiOff/original/calc-1\n.logged" @@ -307,7 +307,7 @@ dump: Unit , IAL Dup , IAL ( Cons - ( - 1 ) + ( -1 ) ) , IAL ( Binary Sub ) , IControl @@ -502,6 +502,6 @@ dump: Unit , 0 , 0 , 0 - , - 1 + , -1 ] } diff --git "a/.output/actual/ws/eval/logged/stn/asciiOn/original/calc-1\n.logged" "b/.output/actual/ws/eval/logged/stn/asciiOn/original/calc-1\n.logged" index 25a1fee0d..7e55fbefc 100644 --- "a/.output/actual/ws/eval/logged/stn/asciiOn/original/calc-1\n.logged" +++ "b/.output/actual/ws/eval/logged/stn/asciiOn/original/calc-1\n.logged" @@ -307,7 +307,7 @@ dump: Unit , IAL Dup , IAL ( Cons - ( - 1 ) + ( -1 ) ) , IAL ( Binary Sub ) , IControl @@ -502,6 +502,6 @@ dump: Unit , 0 , 0 , 0 - , - 1 + , -1 ] } diff --git "a/.output/actual/ws/eval/logged/ws/asciiOff/original/calc-1\n.logged" "b/.output/actual/ws/eval/logged/ws/asciiOff/original/calc-1\n.logged" index 39178b0e9..c181b45e4 100644 --- "a/.output/actual/ws/eval/logged/ws/asciiOff/original/calc-1\n.logged" +++ "b/.output/actual/ws/eval/logged/ws/asciiOff/original/calc-1\n.logged" @@ -307,7 +307,7 @@ dump: Unit , IAL Dup , IAL ( Cons - ( - 1 ) + ( -1 ) ) , IAL ( Binary Sub ) , IControl @@ -502,6 +502,6 @@ dump: Unit , 0 , 0 , 0 - , - 1 + , -1 ] } diff --git "a/.output/actual/ws/eval/logged/ws/asciiOn/original/calc-1\n.logged" "b/.output/actual/ws/eval/logged/ws/asciiOn/original/calc-1\n.logged" index 25a1fee0d..7e55fbefc 100644 --- "a/.output/actual/ws/eval/logged/ws/asciiOn/original/calc-1\n.logged" +++ "b/.output/actual/ws/eval/logged/ws/asciiOn/original/calc-1\n.logged" @@ -307,7 +307,7 @@ dump: Unit , IAL Dup , IAL ( Cons - ( - 1 ) + ( -1 ) ) , IAL ( Binary Sub ) , IControl @@ -502,6 +502,6 @@ dump: Unit , 0 , 0 , 0 - , - 1 + , -1 ] } diff --git a/.output/actual/ws/il/original/calc.il b/.output/actual/ws/il/original/calc.il index 8d899f03e..98e7e427b 100644 --- a/.output/actual/ws/il/original/calc.il +++ b/.output/actual/ws/il/original/calc.il @@ -304,7 +304,7 @@ , IAL Dup , IAL ( Cons - ( - 1 ) + ( -1 ) ) , IAL ( Binary Sub ) , IControl diff --git a/.output/golden/bf/eval/logged/tree/Int16Type/99botles.logged b/.output/golden/bf/eval/logged/tree/Int16Type/99botles.logged index c562a1386..d1180fbc0 100644 --- a/.output/golden/bf/eval/logged/tree/Int16Type/99botles.logged +++ b/.output/golden/bf/eval/logged/tree/Int16Type/99botles.logged @@ -13,19 +13,19 @@ dump: Unit , [ <+++++++++++>- ] , < , - [ > [ - ] > [ - ] << [ >+>+<<- ] >> [ <<+>>- ] >>> [ - ] <<<+++++++++< + [ >[ - ]>[ - ]<<[ >+>+<<- ]>>[ <<+>>- ]>>>[ - ]<<<+++++++++< [ >>>+<< - [ >+> [ - ] <<- ] > [ <+>- ] > [ <<++++++++++>>>+<- ] <<-<- - ] +++++++++> [ <->- ] >>+> - [ < [ - ] <<+>>>- ] > [ - ] +<< [ >+>-<<- ] <<< [ >>+>+<<<- ] >>> [ <<<+>>>- ] > [ <+>- ] <<- - [ > [ - ] < [ - ] ] >>+< - [ > [ - ] <- ] <++++++++ [ <++++++<++++++>>- ] >>> [ >+>+<<- ] >> [ <<+>>- ] < [ <<<<<.>>>>>- ] <<<<<<.>> [ - ] > [ - ] ++++ [ <++++++++>- ] <.>++++ [ <++++++++>- ] <++.>+++++ [ <+++++++++>- ] <.><+++++..--------.-------.>> [ >>+>+<<<- ] >>> [ <<<+>>>- ] < [ <<<<++++++++++++++.>>>>- ] <<<< [ - ] >++++ [ <++++++++>- ] <.>+++++++++ [ <+++++++++>- ] <--.---------.>+++++++ [ <---------->- ] <.>++++++ [ <+++++++++++>- ] <.+++..+++++++++++++.>++++++++ [ <---------->- ] <--.>+++++++++ [ <+++++++++>- ] <--.-.>++++++++ [ <---------->- ] <++.>++++++++ [ <++++++++++>- ] <++++.------------.---.>+++++++ [ <---------->- ] <+.>++++++++ [ <+++++++++++>- ] <-.>++ [ <----------->- ] <.+++++++++++..>+++++++++ [ <---------->- ] <-----.---.>>> [ >+>+<<- ] >> [ <<+>>- ] < [ <<<<<.>>>>>- ] <<<<<<.>>>++++ [ <++++++>- ] <--.>++++ [ <++++++++>- ] <++.>+++++ [ <+++++++++>- ] <.><+++++..--------.-------.>> [ >>+>+<<<- ] >>> [ <<<+>>>- ] < [ <<<<++++++++++++++.>>>>- ] <<<< [ - ] >++++ [ <++++++++>- ] <.>+++++++++ [ <+++++++++>- ] <--.---------.>+++++++ [ <---------->- ] <.>++++++ [ <+++++++++++>- ] <.+++..+++++++++++++.>++++++++++ [ <---------->- ] <-.---.>+++++++ [ <++++++++++>- ] <++++.+++++++++++++.++++++++++.------.>+++++++ [ <---------->- ] <+.>++++++++ [ <++++++++++>- ] <-.-.---------.>+++++++ [ <---------->- ] <+.>+++++++ [ <++++++++++>- ] <--.+++++++++++.++++++++.---------.>++++++++ [ <---------->- ] <++.>+++++ [ <+++++++++++++>- ] <.+++++++++++++.----------.>+++++++ [ <---------->- ] <++.>++++++++ [ <++++++++++>- ] <.>+++ [ <----->- ] <.>+++ [ <++++++>- ] <..>+++++++++ [ <--------->- ] <--.>+++++++ [ <++++++++++>- ] <+++.+++++++++++.>++++++++ [ <----------->- ] <++++.>+++++ [ <+++++++++++++>- ] <.>+++ [ <++++++>- ] <-.---.++++++.-------.----------.>++++++++ [ <----------->- ] <+.---. [ - ] <<<-> [ - ] > [ - ] << [ >+>+<<- ] >> [ <<+>>- ] >>> [ - ] <<<+++++++++< + [ >+>[ - ]<<- ]>[ <+>- ]>[ <<++++++++++>>>+<- ]<<-<- + ]+++++++++>[ <->- ]>>+> + [ <[ - ]<<+>>>- ]>[ - ]+<<[ >+>-<<- ]<<<[ >>+>+<<<- ]>>>[ <<<+>>>- ]>[ <+>- ]<<- + [ >[ - ]<[ - ] ]>>+< + [ >[ - ]<- ]<++++++++[ <++++++<++++++>>- ]>>>[ >+>+<<- ]>>[ <<+>>- ]<[ <<<<<.>>>>>- ]<<<<<<.>>[ - ]>[ - ]++++[ <++++++++>- ]<.>++++[ <++++++++>- ]<++.>+++++[ <+++++++++>- ]<.><+++++..--------.-------.>>[ >>+>+<<<- ]>>>[ <<<+>>>- ]<[ <<<<++++++++++++++.>>>>- ]<<<<[ - ]>++++[ <++++++++>- ]<.>+++++++++[ <+++++++++>- ]<--.---------.>+++++++[ <---------->- ]<.>++++++[ <+++++++++++>- ]<.+++..+++++++++++++.>++++++++[ <---------->- ]<--.>+++++++++[ <+++++++++>- ]<--.-.>++++++++[ <---------->- ]<++.>++++++++[ <++++++++++>- ]<++++.------------.---.>+++++++[ <---------->- ]<+.>++++++++[ <+++++++++++>- ]<-.>++[ <----------->- ]<.+++++++++++..>+++++++++[ <---------->- ]<-----.---.>>>[ >+>+<<- ]>>[ <<+>>- ]<[ <<<<<.>>>>>- ]<<<<<<.>>>++++[ <++++++>- ]<--.>++++[ <++++++++>- ]<++.>+++++[ <+++++++++>- ]<.><+++++..--------.-------.>>[ >>+>+<<<- ]>>>[ <<<+>>>- ]<[ <<<<++++++++++++++.>>>>- ]<<<<[ - ]>++++[ <++++++++>- ]<.>+++++++++[ <+++++++++>- ]<--.---------.>+++++++[ <---------->- ]<.>++++++[ <+++++++++++>- ]<.+++..+++++++++++++.>++++++++++[ <---------->- ]<-.---.>+++++++[ <++++++++++>- ]<++++.+++++++++++++.++++++++++.------.>+++++++[ <---------->- ]<+.>++++++++[ <++++++++++>- ]<-.-.---------.>+++++++[ <---------->- ]<+.>+++++++[ <++++++++++>- ]<--.+++++++++++.++++++++.---------.>++++++++[ <---------->- ]<++.>+++++[ <+++++++++++++>- ]<.+++++++++++++.----------.>+++++++[ <---------->- ]<++.>++++++++[ <++++++++++>- ]<.>+++[ <----->- ]<.>+++[ <++++++>- ]<..>+++++++++[ <--------->- ]<--.>+++++++[ <++++++++++>- ]<+++.+++++++++++.>++++++++[ <----------->- ]<++++.>+++++[ <+++++++++++++>- ]<.>+++[ <++++++>- ]<-.---.++++++.-------.----------.>++++++++[ <----------->- ]<+.---.[ - ]<<<->[ - ]>[ - ]<<[ >+>+<<- ]>>[ <<+>>- ]>>>[ - ]<<<+++++++++< [ >>>+<< - [ >+> [ - ] <<- ] > [ <+>- ] > [ <<++++++++++>>>+<- ] <<-<- - ] +++++++++> [ <->- ] >>+> - [ < [ - ] <<+>>>- ] > [ - ] +<< [ >+>-<<- ] <<< [ >>+>+<<<- ] >>> [ <<<+>>>- ] <>> [ <+>- ] <<- - [ > [ - ] < [ - ] ] >>+< - [ > [ - ] <- ] <++++++++ [ <++++++<++++++>>- ] >>> [ >+>+<<- ] >> [ <<+>>- ] < [ <<<<<.>>>>>- ] <<<<<<.>> [ - ] > [ - ] ++++ [ <++++++++>- ] <.>++++ [ <++++++++>- ] <++.>+++++ [ <+++++++++>- ] <.><+++++..--------.-------.>> [ >>+>+<<<- ] >>> [ <<<+>>>- ] < [ <<<<++++++++++++++.>>>>- ] <<<< [ - ] >++++ [ <++++++++>- ] <.>+++++++++ [ <+++++++++>- ] <--.---------.>+++++++ [ <---------->- ] <.>++++++ [ <+++++++++++>- ] <.+++..+++++++++++++.>++++++++ [ <---------->- ] <--.>+++++++++ [ <+++++++++>- ] <--.-.>++++++++ [ <---------->- ] <++.>++++++++ [ <++++++++++>- ] <++++.------------.---.>+++++++ [ <---------->- ] <+.>++++++++ [ <+++++++++++>- ] <-.>++ [ <----------->- ] <.+++++++++++..>+++++++++ [ <---------->- ] <-----.---.+++.---. [ - ] <<< + [ >+>[ - ]<<- ]>[ <+>- ]>[ <<++++++++++>>>+<- ]<<-<- + ]+++++++++>[ <->- ]>>+> + [ <[ - ]<<+>>>- ]>[ - ]+<<[ >+>-<<- ]<<<[ >>+>+<<<- ]>>>[ <<<+>>>- ]<>>[ <+>- ]<<- + [ >[ - ]<[ - ] ]>>+< + [ >[ - ]<- ]<++++++++[ <++++++<++++++>>- ]>>>[ >+>+<<- ]>>[ <<+>>- ]<[ <<<<<.>>>>>- ]<<<<<<.>>[ - ]>[ - ]++++[ <++++++++>- ]<.>++++[ <++++++++>- ]<++.>+++++[ <+++++++++>- ]<.><+++++..--------.-------.>>[ >>+>+<<<- ]>>>[ <<<+>>>- ]<[ <<<<++++++++++++++.>>>>- ]<<<<[ - ]>++++[ <++++++++>- ]<.>+++++++++[ <+++++++++>- ]<--.---------.>+++++++[ <---------->- ]<.>++++++[ <+++++++++++>- ]<.+++..+++++++++++++.>++++++++[ <---------->- ]<--.>+++++++++[ <+++++++++>- ]<--.-.>++++++++[ <---------->- ]<++.>++++++++[ <++++++++++>- ]<++++.------------.---.>+++++++[ <---------->- ]<+.>++++++++[ <+++++++++++>- ]<-.>++[ <----------->- ]<.+++++++++++..>+++++++++[ <---------->- ]<-----.---.+++.---.[ - ]<<< ] ] 14 , unitTape = diff --git a/.output/golden/bf/eval/logged/tree/Int16Type/fascistHelloWorld.logged b/.output/golden/bf/eval/logged/tree/Int16Type/fascistHelloWorld.logged index b997657fb..20377a10f 100644 --- a/.output/golden/bf/eval/logged/tree/Int16Type/fascistHelloWorld.logged +++ b/.output/golden/bf/eval/logged/tree/Int16Type/fascistHelloWorld.logged @@ -28,7 +28,7 @@ dump: Unit , + , + , - [ > [ ->+++<<+++> ] << ] + [ >[ ->+++<<+++> ]<< ] , > , - , - @@ -55,7 +55,7 @@ dump: Unit , < , + , - [ > [ +>+ ] >> ] + [ >[ +>+ ]>> ] , < , - , - diff --git a/.output/golden/bf/eval/logged/tree/Int16Type/helloWorld.logged b/.output/golden/bf/eval/logged/tree/Int16Type/helloWorld.logged index b0e55304f..a5491570c 100644 --- a/.output/golden/bf/eval/logged/tree/Int16Type/helloWorld.logged +++ b/.output/golden/bf/eval/logged/tree/Int16Type/helloWorld.logged @@ -9,7 +9,7 @@ dump: Unit , + , + , - [ >++++ [ >++>+++>+++>+<<<<- ] >+>+>->>+ [ < ] <- ] + [ >++++[ >++>+++>+++>+<<<<- ]>+>+>->>+[ < ]<- ] , > , > , . diff --git a/.output/golden/bf/eval/logged/tree/Int16Type/triangle.logged b/.output/golden/bf/eval/logged/tree/Int16Type/triangle.logged index 17b1b2373..2639c54c6 100644 --- a/.output/golden/bf/eval/logged/tree/Int16Type/triangle.logged +++ b/.output/golden/bf/eval/logged/tree/Int16Type/triangle.logged @@ -40,13 +40,13 @@ dump: Unit , < , < , - [ - [ ->+< ] > [ -<+>>>.<< ] >>> + [ -[ ->+< ]>[ -<+>>>.<< ]>>> [ - [ ->++++++++ [ >++++<- ] >.<< [ ->+< ] +> [ ->++++++++++<<+> ] >. [ - ] > ] - ] +<<< - [ - [ ->+< ] +> - [ -<+>>>- [ ->+< ] ++> [ -<-> ] <<< ] <<<< - ] ++++++++++.+++. [ - ] < + [ ->++++++++[ >++++<- ]>.<<[ ->+< ]+>[ ->++++++++++<<+> ]>.[ - ]> ] + ]+<<< + [ -[ ->+< ]+> + [ -<+>>>-[ ->+< ]++>[ -<-> ]<<< ]<<<< + ]++++++++++.+++.[ - ]< ] , + , + diff --git a/.output/golden/bf/eval/logged/tree/Int8Type/99botles.logged b/.output/golden/bf/eval/logged/tree/Int8Type/99botles.logged index c562a1386..d1180fbc0 100644 --- a/.output/golden/bf/eval/logged/tree/Int8Type/99botles.logged +++ b/.output/golden/bf/eval/logged/tree/Int8Type/99botles.logged @@ -13,19 +13,19 @@ dump: Unit , [ <+++++++++++>- ] , < , - [ > [ - ] > [ - ] << [ >+>+<<- ] >> [ <<+>>- ] >>> [ - ] <<<+++++++++< + [ >[ - ]>[ - ]<<[ >+>+<<- ]>>[ <<+>>- ]>>>[ - ]<<<+++++++++< [ >>>+<< - [ >+> [ - ] <<- ] > [ <+>- ] > [ <<++++++++++>>>+<- ] <<-<- - ] +++++++++> [ <->- ] >>+> - [ < [ - ] <<+>>>- ] > [ - ] +<< [ >+>-<<- ] <<< [ >>+>+<<<- ] >>> [ <<<+>>>- ] > [ <+>- ] <<- - [ > [ - ] < [ - ] ] >>+< - [ > [ - ] <- ] <++++++++ [ <++++++<++++++>>- ] >>> [ >+>+<<- ] >> [ <<+>>- ] < [ <<<<<.>>>>>- ] <<<<<<.>> [ - ] > [ - ] ++++ [ <++++++++>- ] <.>++++ [ <++++++++>- ] <++.>+++++ [ <+++++++++>- ] <.><+++++..--------.-------.>> [ >>+>+<<<- ] >>> [ <<<+>>>- ] < [ <<<<++++++++++++++.>>>>- ] <<<< [ - ] >++++ [ <++++++++>- ] <.>+++++++++ [ <+++++++++>- ] <--.---------.>+++++++ [ <---------->- ] <.>++++++ [ <+++++++++++>- ] <.+++..+++++++++++++.>++++++++ [ <---------->- ] <--.>+++++++++ [ <+++++++++>- ] <--.-.>++++++++ [ <---------->- ] <++.>++++++++ [ <++++++++++>- ] <++++.------------.---.>+++++++ [ <---------->- ] <+.>++++++++ [ <+++++++++++>- ] <-.>++ [ <----------->- ] <.+++++++++++..>+++++++++ [ <---------->- ] <-----.---.>>> [ >+>+<<- ] >> [ <<+>>- ] < [ <<<<<.>>>>>- ] <<<<<<.>>>++++ [ <++++++>- ] <--.>++++ [ <++++++++>- ] <++.>+++++ [ <+++++++++>- ] <.><+++++..--------.-------.>> [ >>+>+<<<- ] >>> [ <<<+>>>- ] < [ <<<<++++++++++++++.>>>>- ] <<<< [ - ] >++++ [ <++++++++>- ] <.>+++++++++ [ <+++++++++>- ] <--.---------.>+++++++ [ <---------->- ] <.>++++++ [ <+++++++++++>- ] <.+++..+++++++++++++.>++++++++++ [ <---------->- ] <-.---.>+++++++ [ <++++++++++>- ] <++++.+++++++++++++.++++++++++.------.>+++++++ [ <---------->- ] <+.>++++++++ [ <++++++++++>- ] <-.-.---------.>+++++++ [ <---------->- ] <+.>+++++++ [ <++++++++++>- ] <--.+++++++++++.++++++++.---------.>++++++++ [ <---------->- ] <++.>+++++ [ <+++++++++++++>- ] <.+++++++++++++.----------.>+++++++ [ <---------->- ] <++.>++++++++ [ <++++++++++>- ] <.>+++ [ <----->- ] <.>+++ [ <++++++>- ] <..>+++++++++ [ <--------->- ] <--.>+++++++ [ <++++++++++>- ] <+++.+++++++++++.>++++++++ [ <----------->- ] <++++.>+++++ [ <+++++++++++++>- ] <.>+++ [ <++++++>- ] <-.---.++++++.-------.----------.>++++++++ [ <----------->- ] <+.---. [ - ] <<<-> [ - ] > [ - ] << [ >+>+<<- ] >> [ <<+>>- ] >>> [ - ] <<<+++++++++< + [ >+>[ - ]<<- ]>[ <+>- ]>[ <<++++++++++>>>+<- ]<<-<- + ]+++++++++>[ <->- ]>>+> + [ <[ - ]<<+>>>- ]>[ - ]+<<[ >+>-<<- ]<<<[ >>+>+<<<- ]>>>[ <<<+>>>- ]>[ <+>- ]<<- + [ >[ - ]<[ - ] ]>>+< + [ >[ - ]<- ]<++++++++[ <++++++<++++++>>- ]>>>[ >+>+<<- ]>>[ <<+>>- ]<[ <<<<<.>>>>>- ]<<<<<<.>>[ - ]>[ - ]++++[ <++++++++>- ]<.>++++[ <++++++++>- ]<++.>+++++[ <+++++++++>- ]<.><+++++..--------.-------.>>[ >>+>+<<<- ]>>>[ <<<+>>>- ]<[ <<<<++++++++++++++.>>>>- ]<<<<[ - ]>++++[ <++++++++>- ]<.>+++++++++[ <+++++++++>- ]<--.---------.>+++++++[ <---------->- ]<.>++++++[ <+++++++++++>- ]<.+++..+++++++++++++.>++++++++[ <---------->- ]<--.>+++++++++[ <+++++++++>- ]<--.-.>++++++++[ <---------->- ]<++.>++++++++[ <++++++++++>- ]<++++.------------.---.>+++++++[ <---------->- ]<+.>++++++++[ <+++++++++++>- ]<-.>++[ <----------->- ]<.+++++++++++..>+++++++++[ <---------->- ]<-----.---.>>>[ >+>+<<- ]>>[ <<+>>- ]<[ <<<<<.>>>>>- ]<<<<<<.>>>++++[ <++++++>- ]<--.>++++[ <++++++++>- ]<++.>+++++[ <+++++++++>- ]<.><+++++..--------.-------.>>[ >>+>+<<<- ]>>>[ <<<+>>>- ]<[ <<<<++++++++++++++.>>>>- ]<<<<[ - ]>++++[ <++++++++>- ]<.>+++++++++[ <+++++++++>- ]<--.---------.>+++++++[ <---------->- ]<.>++++++[ <+++++++++++>- ]<.+++..+++++++++++++.>++++++++++[ <---------->- ]<-.---.>+++++++[ <++++++++++>- ]<++++.+++++++++++++.++++++++++.------.>+++++++[ <---------->- ]<+.>++++++++[ <++++++++++>- ]<-.-.---------.>+++++++[ <---------->- ]<+.>+++++++[ <++++++++++>- ]<--.+++++++++++.++++++++.---------.>++++++++[ <---------->- ]<++.>+++++[ <+++++++++++++>- ]<.+++++++++++++.----------.>+++++++[ <---------->- ]<++.>++++++++[ <++++++++++>- ]<.>+++[ <----->- ]<.>+++[ <++++++>- ]<..>+++++++++[ <--------->- ]<--.>+++++++[ <++++++++++>- ]<+++.+++++++++++.>++++++++[ <----------->- ]<++++.>+++++[ <+++++++++++++>- ]<.>+++[ <++++++>- ]<-.---.++++++.-------.----------.>++++++++[ <----------->- ]<+.---.[ - ]<<<->[ - ]>[ - ]<<[ >+>+<<- ]>>[ <<+>>- ]>>>[ - ]<<<+++++++++< [ >>>+<< - [ >+> [ - ] <<- ] > [ <+>- ] > [ <<++++++++++>>>+<- ] <<-<- - ] +++++++++> [ <->- ] >>+> - [ < [ - ] <<+>>>- ] > [ - ] +<< [ >+>-<<- ] <<< [ >>+>+<<<- ] >>> [ <<<+>>>- ] <>> [ <+>- ] <<- - [ > [ - ] < [ - ] ] >>+< - [ > [ - ] <- ] <++++++++ [ <++++++<++++++>>- ] >>> [ >+>+<<- ] >> [ <<+>>- ] < [ <<<<<.>>>>>- ] <<<<<<.>> [ - ] > [ - ] ++++ [ <++++++++>- ] <.>++++ [ <++++++++>- ] <++.>+++++ [ <+++++++++>- ] <.><+++++..--------.-------.>> [ >>+>+<<<- ] >>> [ <<<+>>>- ] < [ <<<<++++++++++++++.>>>>- ] <<<< [ - ] >++++ [ <++++++++>- ] <.>+++++++++ [ <+++++++++>- ] <--.---------.>+++++++ [ <---------->- ] <.>++++++ [ <+++++++++++>- ] <.+++..+++++++++++++.>++++++++ [ <---------->- ] <--.>+++++++++ [ <+++++++++>- ] <--.-.>++++++++ [ <---------->- ] <++.>++++++++ [ <++++++++++>- ] <++++.------------.---.>+++++++ [ <---------->- ] <+.>++++++++ [ <+++++++++++>- ] <-.>++ [ <----------->- ] <.+++++++++++..>+++++++++ [ <---------->- ] <-----.---.+++.---. [ - ] <<< + [ >+>[ - ]<<- ]>[ <+>- ]>[ <<++++++++++>>>+<- ]<<-<- + ]+++++++++>[ <->- ]>>+> + [ <[ - ]<<+>>>- ]>[ - ]+<<[ >+>-<<- ]<<<[ >>+>+<<<- ]>>>[ <<<+>>>- ]<>>[ <+>- ]<<- + [ >[ - ]<[ - ] ]>>+< + [ >[ - ]<- ]<++++++++[ <++++++<++++++>>- ]>>>[ >+>+<<- ]>>[ <<+>>- ]<[ <<<<<.>>>>>- ]<<<<<<.>>[ - ]>[ - ]++++[ <++++++++>- ]<.>++++[ <++++++++>- ]<++.>+++++[ <+++++++++>- ]<.><+++++..--------.-------.>>[ >>+>+<<<- ]>>>[ <<<+>>>- ]<[ <<<<++++++++++++++.>>>>- ]<<<<[ - ]>++++[ <++++++++>- ]<.>+++++++++[ <+++++++++>- ]<--.---------.>+++++++[ <---------->- ]<.>++++++[ <+++++++++++>- ]<.+++..+++++++++++++.>++++++++[ <---------->- ]<--.>+++++++++[ <+++++++++>- ]<--.-.>++++++++[ <---------->- ]<++.>++++++++[ <++++++++++>- ]<++++.------------.---.>+++++++[ <---------->- ]<+.>++++++++[ <+++++++++++>- ]<-.>++[ <----------->- ]<.+++++++++++..>+++++++++[ <---------->- ]<-----.---.+++.---.[ - ]<<< ] ] 14 , unitTape = diff --git a/.output/golden/bf/eval/logged/tree/Int8Type/fascistHelloWorld.logged b/.output/golden/bf/eval/logged/tree/Int8Type/fascistHelloWorld.logged index b997657fb..20377a10f 100644 --- a/.output/golden/bf/eval/logged/tree/Int8Type/fascistHelloWorld.logged +++ b/.output/golden/bf/eval/logged/tree/Int8Type/fascistHelloWorld.logged @@ -28,7 +28,7 @@ dump: Unit , + , + , - [ > [ ->+++<<+++> ] << ] + [ >[ ->+++<<+++> ]<< ] , > , - , - @@ -55,7 +55,7 @@ dump: Unit , < , + , - [ > [ +>+ ] >> ] + [ >[ +>+ ]>> ] , < , - , - diff --git a/.output/golden/bf/eval/logged/tree/Int8Type/fibonacci.logged b/.output/golden/bf/eval/logged/tree/Int8Type/fibonacci.logged index 2f9af11ef..91b73fe52 100644 --- a/.output/golden/bf/eval/logged/tree/Int8Type/fibonacci.logged +++ b/.output/golden/bf/eval/logged/tree/Int8Type/fibonacci.logged @@ -104,17 +104,17 @@ dump: Unit , < , < , - [ > [ >>>>>>+>+<<<<<<<- ] >>>>>>> [ <<<<<<<+>>>>>>>- ] < + [ >[ >>>>>>+>+<<<<<<<- ]>>>>>>>[ <<<<<<<+>>>>>>>- ]< [ >++++++++++ - [ -<- [ >>+>+<<<- ] >>> [ <<<+>>>- ] +< - [ > [ - ] < [ - ] ] > - [ << [ >>>+<<<- ] >> [ - ] ] << - ] >>> [ >>+>+<<<- ] >>> [ <<<+>>>- ] +< - [ > [ - ] < [ - ] ] > - [ <<+>> [ - ] ] <<<<<<< - ] >>>>> - [ ++++++++++++++++++++++++++++++++++++++++++++++++. [ - ] ] ++++++++++< [ ->-< ] >++++++++++++++++++++++++++++++++++++++++++++++++. [ - ] <<<<<<<<<<<< [ >>>+>+<<<<- ] >>>> [ <<<<+>>>>- ] <- - [ >>.>.<<< [ - ] ] << [ >>+>+<<<- ] >>> [ <<<+>>>- ] << [ <+>- ] > [ <+>- ] <<<- + [ -<-[ >>+>+<<<- ]>>>[ <<<+>>>- ]+< + [ >[ - ]<[ - ] ]> + [ <<[ >>>+<<<- ]>>[ - ] ]<< + ]>>>[ >>+>+<<<- ]>>>[ <<<+>>>- ]+< + [ >[ - ]<[ - ] ]> + [ <<+>>[ - ] ]<<<<<<< + ]>>>>> + [ ++++++++++++++++++++++++++++++++++++++++++++++++.[ - ] ]++++++++++<[ ->-< ]>++++++++++++++++++++++++++++++++++++++++++++++++.[ - ]<<<<<<<<<<<<[ >>>+>+<<<<- ]>>>>[ <<<<+>>>>- ]<- + [ >>.>.<<<[ - ] ]<<[ >>+>+<<<- ]>>>[ <<<+>>>- ]<<[ <+>- ]>[ <+>- ]<<<- ] , + , + @@ -217,17 +217,17 @@ dump: Unit , < , < , - [ > [ >>>>>>+>+<<<<<<<- ] >>>>>>> [ <<<<<<<+>>>>>>>- ] < + [ >[ >>>>>>+>+<<<<<<<- ]>>>>>>>[ <<<<<<<+>>>>>>>- ]< [ >++++++++++ - [ -<- [ >>+>+<<<- ] >>> [ <<<+>>>- ] +< - [ > [ - ] < [ - ] ] > - [ << [ >>>+<<<- ] >> [ - ] ] << - ] >>> [ >>+>+<<<- ] >>> [ <<<+>>>- ] +< - [ > [ - ] < [ - ] ] > - [ <<+>> [ - ] ] <<<<<<< - ] >>>>> - [ ++++++++++++++++++++++++++++++++++++++++++++++++. [ - ] ] ++++++++++< [ ->-< ] >++++++++++++++++++++++++++++++++++++++++++++++++. [ - ] <<<<<<<<<<<< [ >>>+>+<<<<- ] >>>> [ <<<<+>>>>- ] <- - [ >>.>.<<< [ - ] ] << [ >>+>+<<<- ] >>> [ <<<+>>>- ] << [ <+>- ] > [ <+>- ] <<<- + [ -<-[ >>+>+<<<- ]>>>[ <<<+>>>- ]+< + [ >[ - ]<[ - ] ]> + [ <<[ >>>+<<<- ]>>[ - ] ]<< + ]>>>[ >>+>+<<<- ]>>>[ <<<+>>>- ]+< + [ >[ - ]<[ - ] ]> + [ <<+>>[ - ] ]<<<<<<< + ]>>>>> + [ ++++++++++++++++++++++++++++++++++++++++++++++++.[ - ] ]++++++++++<[ ->-< ]>++++++++++++++++++++++++++++++++++++++++++++++++.[ - ]<<<<<<<<<<<<[ >>>+>+<<<<- ]>>>>[ <<<<+>>>>- ]<- + [ >>.>.<<<[ - ] ]<<[ >>+>+<<<- ]>>>[ <<<+>>>- ]<<[ <+>- ]>[ <+>- ]<<<- ] ] 209 , unitTape = diff --git a/.output/golden/bf/eval/logged/tree/Int8Type/helloWorld.logged b/.output/golden/bf/eval/logged/tree/Int8Type/helloWorld.logged index b0e55304f..a5491570c 100644 --- a/.output/golden/bf/eval/logged/tree/Int8Type/helloWorld.logged +++ b/.output/golden/bf/eval/logged/tree/Int8Type/helloWorld.logged @@ -9,7 +9,7 @@ dump: Unit , + , + , - [ >++++ [ >++>+++>+++>+<<<<- ] >+>+>->>+ [ < ] <- ] + [ >++++[ >++>+++>+++>+<<<<- ]>+>+>->>+[ < ]<- ] , > , > , . diff --git a/.output/golden/bf/eval/logged/tree/Int8Type/padHelloWorld.logged b/.output/golden/bf/eval/logged/tree/Int8Type/padHelloWorld.logged index fef92cb5c..6b942abb4 100644 --- a/.output/golden/bf/eval/logged/tree/Int8Type/padHelloWorld.logged +++ b/.output/golden/bf/eval/logged/tree/Int8Type/padHelloWorld.logged @@ -8,7 +8,7 @@ dump: Unit , < , + , - [ + [ <+>--->->->-<<< ] > ] + [ +[ <+>--->->->-<<< ]> ] , < , < , - @@ -69,7 +69,7 @@ dump: Unit , 0 , 0 , 87 - , - 74 + , -74 , 0 ] , @@ -77,216 +77,216 @@ dump: Unit , 114 , 44 , 7 - , - 126 - , - 9 + , -126 + , -9 , 115 , 17 - , - 104 - , - 1 + , -104 + , -1 , 55 , 3 - , - 54 - , - 113 - , - 97 + , -54 + , -113 + , -97 , 117 , 64 , 111 - , - 13 - , - 33 - , - 30 + , -13 + , -33 + , -30 , 103 , 27 - , - 39 - , - 40 - , - 1 - , - 97 - , - 37 - , - 118 - , - 65 + , -39 + , -40 + , -1 + , -97 + , -37 + , -118 + , -65 , 39 , 125 , 32 - , - 17 + , -17 , 123 , 55 - , - 126 - , - 41 + , -126 + , -41 , 3 - , - 95 - , - 40 + , -95 + , -40 , 127 - , - 57 + , -57 , 51 - , - 118 - , - 17 - , - 17 - , - 123 - , - 64 - , - 17 - , - 61 + , -118 + , -17 + , -17 + , -123 + , -64 + , -17 + , -61 , 15 , 98 , 71 , 43 , 105 - , - 104 + , -104 , 127 - , - 81 + , -81 , 11 - , - 54 + , -54 , 31 - , - 9 - , - 115 + , -9 + , -115 , 32 , 111 - , - 53 + , -53 , 103 - , - 126 - , - 73 - , - 109 + , -126 + , -73 + , -109 , 49 , 24 - , - 1 + , -1 , 87 , 99 , 74 , 79 , 63 - , - 107 + , -107 , 64 , 111 - , - 109 + , -109 , 63 - , - 30 + , -30 , 39 , 59 - , - 7 + , -7 , 88 - , - 1 - , - 65 + , -1 + , -65 , 59 , 10 , 127 - , - 57 - , - 99 + , -57 + , -99 , 32 - , - 17 + , -17 , 27 - , - 105 - , - 126 - , - 105 + , -105 + , -126 + , -105 , 35 - , - 63 + , -63 , 88 , 127 - , - 25 - , - 109 + , -25 + , -109 , 10 - , - 81 - , - 113 - , - 91 - , - 64 - , - 17 + , -81 + , -113 + , -91 + , -64 + , -17 , 99 , 111 , 98 , 7 , 75 - , - 119 + , -119 , 24 , 127 - , - 49 + , -49 , 107 , 74 - , - 33 - , - 105 - , - 83 + , -33 + , -105 + , -83 , 32 , 111 , 107 - , - 57 - , - 126 + , -57 + , -126 , 119 - , - 77 + , -77 , 81 - , - 104 - , - 1 + , -104 + , -1 , 119 - , - 61 - , - 54 + , -61 + , -54 , 15 - , - 33 - , - 75 + , -33 + , -75 , 64 , 111 , 51 - , - 97 - , - 30 - , - 25 + , -97 + , -30 + , -25 , 91 , 25 - , - 40 - , - 1 - , - 33 - , - 101 - , - 118 + , -40 + , -1 + , -33 + , -101 + , -118 , 63 , 103 - , - 67 + , -67 , 32 - , - 17 - , - 69 - , - 9 - , - 126 + , -17 + , -69 + , -9 + , -126 , 87 , 67 - , - 31 - , - 40 + , -31 + , -40 , 127 , 7 - , - 13 - , - 118 + , -13 + , -118 , 111 , 47 - , - 59 - , - 64 - , - 17 + , -59 + , -64 + , -17 , 3 - , - 49 + , -49 , 98 - , - 57 + , -57 , 107 - , - 87 - , - 104 + , -87 + , -104 , 127 - , - 17 - , - 53 - , - 54 - , - 97 + , -17 + , -53 + , -54 + , -97 , 55 - , - 51 + , -51 , 32 , 111 , 11 , 39 - , - 126 + , -126 , 55 - , - 45 + , -45 , 113 , 24 - , - 1 - , - 105 + , -1 + , -105 , 35 , 74 - , - 49 + , -49 , 127 - , - 43 + , -43 , 64 , 111 - , - 45 - , - 1 - , - 30 - , - 89 + , -45 + , -1 + , -30 + , -89 , 123 , 57 , 86 diff --git a/.output/golden/bf/eval/logged/tree/Int8Type/theShortestHelloWorld.logged b/.output/golden/bf/eval/logged/tree/Int8Type/theShortestHelloWorld.logged index 79b087918..2f621c8f9 100644 --- a/.output/golden/bf/eval/logged/tree/Int8Type/theShortestHelloWorld.logged +++ b/.output/golden/bf/eval/logged/tree/Int8Type/theShortestHelloWorld.logged @@ -2,7 +2,7 @@ dump: Unit { unitUI = IU [ + , - [ -->- [ >>+>-----<< ] <--<--- ] + [ -->-[ >>+>-----<< ]<--<--- ] , > , - , . @@ -56,9 +56,9 @@ dump: Unit [ 33 , 44 , 108 - , - 84 + , -84 , 100 - , - 103 + , -103 , 0 , 72 , 0 diff --git a/.output/golden/bf/eval/logged/tree/Int8Type/triangle.logged b/.output/golden/bf/eval/logged/tree/Int8Type/triangle.logged index 17b1b2373..2639c54c6 100644 --- a/.output/golden/bf/eval/logged/tree/Int8Type/triangle.logged +++ b/.output/golden/bf/eval/logged/tree/Int8Type/triangle.logged @@ -40,13 +40,13 @@ dump: Unit , < , < , - [ - [ ->+< ] > [ -<+>>>.<< ] >>> + [ -[ ->+< ]>[ -<+>>>.<< ]>>> [ - [ ->++++++++ [ >++++<- ] >.<< [ ->+< ] +> [ ->++++++++++<<+> ] >. [ - ] > ] - ] +<<< - [ - [ ->+< ] +> - [ -<+>>>- [ ->+< ] ++> [ -<-> ] <<< ] <<<< - ] ++++++++++.+++. [ - ] < + [ ->++++++++[ >++++<- ]>.<<[ ->+< ]+>[ ->++++++++++<<+> ]>.[ - ]> ] + ]+<<< + [ -[ ->+< ]+> + [ -<+>>>-[ ->+< ]++>[ -<-> ]<<< ]<<<< + ]++++++++++.+++.[ - ]< ] , + , + diff --git a/.output/golden/bf/eval/logged/tree/Int8Type/value256.logged b/.output/golden/bf/eval/logged/tree/Int8Type/value256.logged index 6e9e468ea..b692c3a42 100644 --- a/.output/golden/bf/eval/logged/tree/Int8Type/value256.logged +++ b/.output/golden/bf/eval/logged/tree/Int8Type/value256.logged @@ -14,13 +14,13 @@ dump: Unit , + , < , - [ >-< [ >++++<- ] > [ <++++++++>- ] < [ >++++++++<- ] +> - [ >++++++++++ [ >+++++<- ] >+.-. [ - ] << [ - ] <-> ] < - [ >>+++++++ [ >+++++++<- ] >.+++++. [ - ] <<<- ] + [ >-<[ >++++<- ]>[ <++++++++>- ]<[ >++++++++<- ]+> + [ >++++++++++[ >+++++<- ]>+.-.[ - ]<<[ - ]<-> ]< + [ >>+++++++[ >+++++++<- ]>.+++++.[ - ]<<<- ] ] , > , - [ >++++++++ [ >+++++++<- ] >. [ - ] <<- ] + [ >++++++++[ >+++++++<- ]>.[ - ]<<- ] , < , + , + @@ -85,7 +85,7 @@ dump: Unit , - , . , - [ [ - ] < ] + [ [ - ]< ] ] 81 , unitTape = ( diff --git a/.output/golden/bf/eval/logged/tree/Word16Type/99botles.logged b/.output/golden/bf/eval/logged/tree/Word16Type/99botles.logged index c562a1386..d1180fbc0 100644 --- a/.output/golden/bf/eval/logged/tree/Word16Type/99botles.logged +++ b/.output/golden/bf/eval/logged/tree/Word16Type/99botles.logged @@ -13,19 +13,19 @@ dump: Unit , [ <+++++++++++>- ] , < , - [ > [ - ] > [ - ] << [ >+>+<<- ] >> [ <<+>>- ] >>> [ - ] <<<+++++++++< + [ >[ - ]>[ - ]<<[ >+>+<<- ]>>[ <<+>>- ]>>>[ - ]<<<+++++++++< [ >>>+<< - [ >+> [ - ] <<- ] > [ <+>- ] > [ <<++++++++++>>>+<- ] <<-<- - ] +++++++++> [ <->- ] >>+> - [ < [ - ] <<+>>>- ] > [ - ] +<< [ >+>-<<- ] <<< [ >>+>+<<<- ] >>> [ <<<+>>>- ] > [ <+>- ] <<- - [ > [ - ] < [ - ] ] >>+< - [ > [ - ] <- ] <++++++++ [ <++++++<++++++>>- ] >>> [ >+>+<<- ] >> [ <<+>>- ] < [ <<<<<.>>>>>- ] <<<<<<.>> [ - ] > [ - ] ++++ [ <++++++++>- ] <.>++++ [ <++++++++>- ] <++.>+++++ [ <+++++++++>- ] <.><+++++..--------.-------.>> [ >>+>+<<<- ] >>> [ <<<+>>>- ] < [ <<<<++++++++++++++.>>>>- ] <<<< [ - ] >++++ [ <++++++++>- ] <.>+++++++++ [ <+++++++++>- ] <--.---------.>+++++++ [ <---------->- ] <.>++++++ [ <+++++++++++>- ] <.+++..+++++++++++++.>++++++++ [ <---------->- ] <--.>+++++++++ [ <+++++++++>- ] <--.-.>++++++++ [ <---------->- ] <++.>++++++++ [ <++++++++++>- ] <++++.------------.---.>+++++++ [ <---------->- ] <+.>++++++++ [ <+++++++++++>- ] <-.>++ [ <----------->- ] <.+++++++++++..>+++++++++ [ <---------->- ] <-----.---.>>> [ >+>+<<- ] >> [ <<+>>- ] < [ <<<<<.>>>>>- ] <<<<<<.>>>++++ [ <++++++>- ] <--.>++++ [ <++++++++>- ] <++.>+++++ [ <+++++++++>- ] <.><+++++..--------.-------.>> [ >>+>+<<<- ] >>> [ <<<+>>>- ] < [ <<<<++++++++++++++.>>>>- ] <<<< [ - ] >++++ [ <++++++++>- ] <.>+++++++++ [ <+++++++++>- ] <--.---------.>+++++++ [ <---------->- ] <.>++++++ [ <+++++++++++>- ] <.+++..+++++++++++++.>++++++++++ [ <---------->- ] <-.---.>+++++++ [ <++++++++++>- ] <++++.+++++++++++++.++++++++++.------.>+++++++ [ <---------->- ] <+.>++++++++ [ <++++++++++>- ] <-.-.---------.>+++++++ [ <---------->- ] <+.>+++++++ [ <++++++++++>- ] <--.+++++++++++.++++++++.---------.>++++++++ [ <---------->- ] <++.>+++++ [ <+++++++++++++>- ] <.+++++++++++++.----------.>+++++++ [ <---------->- ] <++.>++++++++ [ <++++++++++>- ] <.>+++ [ <----->- ] <.>+++ [ <++++++>- ] <..>+++++++++ [ <--------->- ] <--.>+++++++ [ <++++++++++>- ] <+++.+++++++++++.>++++++++ [ <----------->- ] <++++.>+++++ [ <+++++++++++++>- ] <.>+++ [ <++++++>- ] <-.---.++++++.-------.----------.>++++++++ [ <----------->- ] <+.---. [ - ] <<<-> [ - ] > [ - ] << [ >+>+<<- ] >> [ <<+>>- ] >>> [ - ] <<<+++++++++< + [ >+>[ - ]<<- ]>[ <+>- ]>[ <<++++++++++>>>+<- ]<<-<- + ]+++++++++>[ <->- ]>>+> + [ <[ - ]<<+>>>- ]>[ - ]+<<[ >+>-<<- ]<<<[ >>+>+<<<- ]>>>[ <<<+>>>- ]>[ <+>- ]<<- + [ >[ - ]<[ - ] ]>>+< + [ >[ - ]<- ]<++++++++[ <++++++<++++++>>- ]>>>[ >+>+<<- ]>>[ <<+>>- ]<[ <<<<<.>>>>>- ]<<<<<<.>>[ - ]>[ - ]++++[ <++++++++>- ]<.>++++[ <++++++++>- ]<++.>+++++[ <+++++++++>- ]<.><+++++..--------.-------.>>[ >>+>+<<<- ]>>>[ <<<+>>>- ]<[ <<<<++++++++++++++.>>>>- ]<<<<[ - ]>++++[ <++++++++>- ]<.>+++++++++[ <+++++++++>- ]<--.---------.>+++++++[ <---------->- ]<.>++++++[ <+++++++++++>- ]<.+++..+++++++++++++.>++++++++[ <---------->- ]<--.>+++++++++[ <+++++++++>- ]<--.-.>++++++++[ <---------->- ]<++.>++++++++[ <++++++++++>- ]<++++.------------.---.>+++++++[ <---------->- ]<+.>++++++++[ <+++++++++++>- ]<-.>++[ <----------->- ]<.+++++++++++..>+++++++++[ <---------->- ]<-----.---.>>>[ >+>+<<- ]>>[ <<+>>- ]<[ <<<<<.>>>>>- ]<<<<<<.>>>++++[ <++++++>- ]<--.>++++[ <++++++++>- ]<++.>+++++[ <+++++++++>- ]<.><+++++..--------.-------.>>[ >>+>+<<<- ]>>>[ <<<+>>>- ]<[ <<<<++++++++++++++.>>>>- ]<<<<[ - ]>++++[ <++++++++>- ]<.>+++++++++[ <+++++++++>- ]<--.---------.>+++++++[ <---------->- ]<.>++++++[ <+++++++++++>- ]<.+++..+++++++++++++.>++++++++++[ <---------->- ]<-.---.>+++++++[ <++++++++++>- ]<++++.+++++++++++++.++++++++++.------.>+++++++[ <---------->- ]<+.>++++++++[ <++++++++++>- ]<-.-.---------.>+++++++[ <---------->- ]<+.>+++++++[ <++++++++++>- ]<--.+++++++++++.++++++++.---------.>++++++++[ <---------->- ]<++.>+++++[ <+++++++++++++>- ]<.+++++++++++++.----------.>+++++++[ <---------->- ]<++.>++++++++[ <++++++++++>- ]<.>+++[ <----->- ]<.>+++[ <++++++>- ]<..>+++++++++[ <--------->- ]<--.>+++++++[ <++++++++++>- ]<+++.+++++++++++.>++++++++[ <----------->- ]<++++.>+++++[ <+++++++++++++>- ]<.>+++[ <++++++>- ]<-.---.++++++.-------.----------.>++++++++[ <----------->- ]<+.---.[ - ]<<<->[ - ]>[ - ]<<[ >+>+<<- ]>>[ <<+>>- ]>>>[ - ]<<<+++++++++< [ >>>+<< - [ >+> [ - ] <<- ] > [ <+>- ] > [ <<++++++++++>>>+<- ] <<-<- - ] +++++++++> [ <->- ] >>+> - [ < [ - ] <<+>>>- ] > [ - ] +<< [ >+>-<<- ] <<< [ >>+>+<<<- ] >>> [ <<<+>>>- ] <>> [ <+>- ] <<- - [ > [ - ] < [ - ] ] >>+< - [ > [ - ] <- ] <++++++++ [ <++++++<++++++>>- ] >>> [ >+>+<<- ] >> [ <<+>>- ] < [ <<<<<.>>>>>- ] <<<<<<.>> [ - ] > [ - ] ++++ [ <++++++++>- ] <.>++++ [ <++++++++>- ] <++.>+++++ [ <+++++++++>- ] <.><+++++..--------.-------.>> [ >>+>+<<<- ] >>> [ <<<+>>>- ] < [ <<<<++++++++++++++.>>>>- ] <<<< [ - ] >++++ [ <++++++++>- ] <.>+++++++++ [ <+++++++++>- ] <--.---------.>+++++++ [ <---------->- ] <.>++++++ [ <+++++++++++>- ] <.+++..+++++++++++++.>++++++++ [ <---------->- ] <--.>+++++++++ [ <+++++++++>- ] <--.-.>++++++++ [ <---------->- ] <++.>++++++++ [ <++++++++++>- ] <++++.------------.---.>+++++++ [ <---------->- ] <+.>++++++++ [ <+++++++++++>- ] <-.>++ [ <----------->- ] <.+++++++++++..>+++++++++ [ <---------->- ] <-----.---.+++.---. [ - ] <<< + [ >+>[ - ]<<- ]>[ <+>- ]>[ <<++++++++++>>>+<- ]<<-<- + ]+++++++++>[ <->- ]>>+> + [ <[ - ]<<+>>>- ]>[ - ]+<<[ >+>-<<- ]<<<[ >>+>+<<<- ]>>>[ <<<+>>>- ]<>>[ <+>- ]<<- + [ >[ - ]<[ - ] ]>>+< + [ >[ - ]<- ]<++++++++[ <++++++<++++++>>- ]>>>[ >+>+<<- ]>>[ <<+>>- ]<[ <<<<<.>>>>>- ]<<<<<<.>>[ - ]>[ - ]++++[ <++++++++>- ]<.>++++[ <++++++++>- ]<++.>+++++[ <+++++++++>- ]<.><+++++..--------.-------.>>[ >>+>+<<<- ]>>>[ <<<+>>>- ]<[ <<<<++++++++++++++.>>>>- ]<<<<[ - ]>++++[ <++++++++>- ]<.>+++++++++[ <+++++++++>- ]<--.---------.>+++++++[ <---------->- ]<.>++++++[ <+++++++++++>- ]<.+++..+++++++++++++.>++++++++[ <---------->- ]<--.>+++++++++[ <+++++++++>- ]<--.-.>++++++++[ <---------->- ]<++.>++++++++[ <++++++++++>- ]<++++.------------.---.>+++++++[ <---------->- ]<+.>++++++++[ <+++++++++++>- ]<-.>++[ <----------->- ]<.+++++++++++..>+++++++++[ <---------->- ]<-----.---.+++.---.[ - ]<<< ] ] 14 , unitTape = diff --git a/.output/golden/bf/eval/logged/tree/Word16Type/fascistHelloWorld.logged b/.output/golden/bf/eval/logged/tree/Word16Type/fascistHelloWorld.logged index b997657fb..20377a10f 100644 --- a/.output/golden/bf/eval/logged/tree/Word16Type/fascistHelloWorld.logged +++ b/.output/golden/bf/eval/logged/tree/Word16Type/fascistHelloWorld.logged @@ -28,7 +28,7 @@ dump: Unit , + , + , - [ > [ ->+++<<+++> ] << ] + [ >[ ->+++<<+++> ]<< ] , > , - , - @@ -55,7 +55,7 @@ dump: Unit , < , + , - [ > [ +>+ ] >> ] + [ >[ +>+ ]>> ] , < , - , - diff --git a/.output/golden/bf/eval/logged/tree/Word16Type/helloWorld.logged b/.output/golden/bf/eval/logged/tree/Word16Type/helloWorld.logged index b0e55304f..a5491570c 100644 --- a/.output/golden/bf/eval/logged/tree/Word16Type/helloWorld.logged +++ b/.output/golden/bf/eval/logged/tree/Word16Type/helloWorld.logged @@ -9,7 +9,7 @@ dump: Unit , + , + , - [ >++++ [ >++>+++>+++>+<<<<- ] >+>+>->>+ [ < ] <- ] + [ >++++[ >++>+++>+++>+<<<<- ]>+>+>->>+[ < ]<- ] , > , > , . diff --git a/.output/golden/bf/eval/logged/tree/Word16Type/triangle.logged b/.output/golden/bf/eval/logged/tree/Word16Type/triangle.logged index 17b1b2373..2639c54c6 100644 --- a/.output/golden/bf/eval/logged/tree/Word16Type/triangle.logged +++ b/.output/golden/bf/eval/logged/tree/Word16Type/triangle.logged @@ -40,13 +40,13 @@ dump: Unit , < , < , - [ - [ ->+< ] > [ -<+>>>.<< ] >>> + [ -[ ->+< ]>[ -<+>>>.<< ]>>> [ - [ ->++++++++ [ >++++<- ] >.<< [ ->+< ] +> [ ->++++++++++<<+> ] >. [ - ] > ] - ] +<<< - [ - [ ->+< ] +> - [ -<+>>>- [ ->+< ] ++> [ -<-> ] <<< ] <<<< - ] ++++++++++.+++. [ - ] < + [ ->++++++++[ >++++<- ]>.<<[ ->+< ]+>[ ->++++++++++<<+> ]>.[ - ]> ] + ]+<<< + [ -[ ->+< ]+> + [ -<+>>>-[ ->+< ]++>[ -<-> ]<<< ]<<<< + ]++++++++++.+++.[ - ]< ] , + , + diff --git a/.output/golden/bf/eval/logged/tree/Word8Type/99botles.logged b/.output/golden/bf/eval/logged/tree/Word8Type/99botles.logged index c562a1386..d1180fbc0 100644 --- a/.output/golden/bf/eval/logged/tree/Word8Type/99botles.logged +++ b/.output/golden/bf/eval/logged/tree/Word8Type/99botles.logged @@ -13,19 +13,19 @@ dump: Unit , [ <+++++++++++>- ] , < , - [ > [ - ] > [ - ] << [ >+>+<<- ] >> [ <<+>>- ] >>> [ - ] <<<+++++++++< + [ >[ - ]>[ - ]<<[ >+>+<<- ]>>[ <<+>>- ]>>>[ - ]<<<+++++++++< [ >>>+<< - [ >+> [ - ] <<- ] > [ <+>- ] > [ <<++++++++++>>>+<- ] <<-<- - ] +++++++++> [ <->- ] >>+> - [ < [ - ] <<+>>>- ] > [ - ] +<< [ >+>-<<- ] <<< [ >>+>+<<<- ] >>> [ <<<+>>>- ] > [ <+>- ] <<- - [ > [ - ] < [ - ] ] >>+< - [ > [ - ] <- ] <++++++++ [ <++++++<++++++>>- ] >>> [ >+>+<<- ] >> [ <<+>>- ] < [ <<<<<.>>>>>- ] <<<<<<.>> [ - ] > [ - ] ++++ [ <++++++++>- ] <.>++++ [ <++++++++>- ] <++.>+++++ [ <+++++++++>- ] <.><+++++..--------.-------.>> [ >>+>+<<<- ] >>> [ <<<+>>>- ] < [ <<<<++++++++++++++.>>>>- ] <<<< [ - ] >++++ [ <++++++++>- ] <.>+++++++++ [ <+++++++++>- ] <--.---------.>+++++++ [ <---------->- ] <.>++++++ [ <+++++++++++>- ] <.+++..+++++++++++++.>++++++++ [ <---------->- ] <--.>+++++++++ [ <+++++++++>- ] <--.-.>++++++++ [ <---------->- ] <++.>++++++++ [ <++++++++++>- ] <++++.------------.---.>+++++++ [ <---------->- ] <+.>++++++++ [ <+++++++++++>- ] <-.>++ [ <----------->- ] <.+++++++++++..>+++++++++ [ <---------->- ] <-----.---.>>> [ >+>+<<- ] >> [ <<+>>- ] < [ <<<<<.>>>>>- ] <<<<<<.>>>++++ [ <++++++>- ] <--.>++++ [ <++++++++>- ] <++.>+++++ [ <+++++++++>- ] <.><+++++..--------.-------.>> [ >>+>+<<<- ] >>> [ <<<+>>>- ] < [ <<<<++++++++++++++.>>>>- ] <<<< [ - ] >++++ [ <++++++++>- ] <.>+++++++++ [ <+++++++++>- ] <--.---------.>+++++++ [ <---------->- ] <.>++++++ [ <+++++++++++>- ] <.+++..+++++++++++++.>++++++++++ [ <---------->- ] <-.---.>+++++++ [ <++++++++++>- ] <++++.+++++++++++++.++++++++++.------.>+++++++ [ <---------->- ] <+.>++++++++ [ <++++++++++>- ] <-.-.---------.>+++++++ [ <---------->- ] <+.>+++++++ [ <++++++++++>- ] <--.+++++++++++.++++++++.---------.>++++++++ [ <---------->- ] <++.>+++++ [ <+++++++++++++>- ] <.+++++++++++++.----------.>+++++++ [ <---------->- ] <++.>++++++++ [ <++++++++++>- ] <.>+++ [ <----->- ] <.>+++ [ <++++++>- ] <..>+++++++++ [ <--------->- ] <--.>+++++++ [ <++++++++++>- ] <+++.+++++++++++.>++++++++ [ <----------->- ] <++++.>+++++ [ <+++++++++++++>- ] <.>+++ [ <++++++>- ] <-.---.++++++.-------.----------.>++++++++ [ <----------->- ] <+.---. [ - ] <<<-> [ - ] > [ - ] << [ >+>+<<- ] >> [ <<+>>- ] >>> [ - ] <<<+++++++++< + [ >+>[ - ]<<- ]>[ <+>- ]>[ <<++++++++++>>>+<- ]<<-<- + ]+++++++++>[ <->- ]>>+> + [ <[ - ]<<+>>>- ]>[ - ]+<<[ >+>-<<- ]<<<[ >>+>+<<<- ]>>>[ <<<+>>>- ]>[ <+>- ]<<- + [ >[ - ]<[ - ] ]>>+< + [ >[ - ]<- ]<++++++++[ <++++++<++++++>>- ]>>>[ >+>+<<- ]>>[ <<+>>- ]<[ <<<<<.>>>>>- ]<<<<<<.>>[ - ]>[ - ]++++[ <++++++++>- ]<.>++++[ <++++++++>- ]<++.>+++++[ <+++++++++>- ]<.><+++++..--------.-------.>>[ >>+>+<<<- ]>>>[ <<<+>>>- ]<[ <<<<++++++++++++++.>>>>- ]<<<<[ - ]>++++[ <++++++++>- ]<.>+++++++++[ <+++++++++>- ]<--.---------.>+++++++[ <---------->- ]<.>++++++[ <+++++++++++>- ]<.+++..+++++++++++++.>++++++++[ <---------->- ]<--.>+++++++++[ <+++++++++>- ]<--.-.>++++++++[ <---------->- ]<++.>++++++++[ <++++++++++>- ]<++++.------------.---.>+++++++[ <---------->- ]<+.>++++++++[ <+++++++++++>- ]<-.>++[ <----------->- ]<.+++++++++++..>+++++++++[ <---------->- ]<-----.---.>>>[ >+>+<<- ]>>[ <<+>>- ]<[ <<<<<.>>>>>- ]<<<<<<.>>>++++[ <++++++>- ]<--.>++++[ <++++++++>- ]<++.>+++++[ <+++++++++>- ]<.><+++++..--------.-------.>>[ >>+>+<<<- ]>>>[ <<<+>>>- ]<[ <<<<++++++++++++++.>>>>- ]<<<<[ - ]>++++[ <++++++++>- ]<.>+++++++++[ <+++++++++>- ]<--.---------.>+++++++[ <---------->- ]<.>++++++[ <+++++++++++>- ]<.+++..+++++++++++++.>++++++++++[ <---------->- ]<-.---.>+++++++[ <++++++++++>- ]<++++.+++++++++++++.++++++++++.------.>+++++++[ <---------->- ]<+.>++++++++[ <++++++++++>- ]<-.-.---------.>+++++++[ <---------->- ]<+.>+++++++[ <++++++++++>- ]<--.+++++++++++.++++++++.---------.>++++++++[ <---------->- ]<++.>+++++[ <+++++++++++++>- ]<.+++++++++++++.----------.>+++++++[ <---------->- ]<++.>++++++++[ <++++++++++>- ]<.>+++[ <----->- ]<.>+++[ <++++++>- ]<..>+++++++++[ <--------->- ]<--.>+++++++[ <++++++++++>- ]<+++.+++++++++++.>++++++++[ <----------->- ]<++++.>+++++[ <+++++++++++++>- ]<.>+++[ <++++++>- ]<-.---.++++++.-------.----------.>++++++++[ <----------->- ]<+.---.[ - ]<<<->[ - ]>[ - ]<<[ >+>+<<- ]>>[ <<+>>- ]>>>[ - ]<<<+++++++++< [ >>>+<< - [ >+> [ - ] <<- ] > [ <+>- ] > [ <<++++++++++>>>+<- ] <<-<- - ] +++++++++> [ <->- ] >>+> - [ < [ - ] <<+>>>- ] > [ - ] +<< [ >+>-<<- ] <<< [ >>+>+<<<- ] >>> [ <<<+>>>- ] <>> [ <+>- ] <<- - [ > [ - ] < [ - ] ] >>+< - [ > [ - ] <- ] <++++++++ [ <++++++<++++++>>- ] >>> [ >+>+<<- ] >> [ <<+>>- ] < [ <<<<<.>>>>>- ] <<<<<<.>> [ - ] > [ - ] ++++ [ <++++++++>- ] <.>++++ [ <++++++++>- ] <++.>+++++ [ <+++++++++>- ] <.><+++++..--------.-------.>> [ >>+>+<<<- ] >>> [ <<<+>>>- ] < [ <<<<++++++++++++++.>>>>- ] <<<< [ - ] >++++ [ <++++++++>- ] <.>+++++++++ [ <+++++++++>- ] <--.---------.>+++++++ [ <---------->- ] <.>++++++ [ <+++++++++++>- ] <.+++..+++++++++++++.>++++++++ [ <---------->- ] <--.>+++++++++ [ <+++++++++>- ] <--.-.>++++++++ [ <---------->- ] <++.>++++++++ [ <++++++++++>- ] <++++.------------.---.>+++++++ [ <---------->- ] <+.>++++++++ [ <+++++++++++>- ] <-.>++ [ <----------->- ] <.+++++++++++..>+++++++++ [ <---------->- ] <-----.---.+++.---. [ - ] <<< + [ >+>[ - ]<<- ]>[ <+>- ]>[ <<++++++++++>>>+<- ]<<-<- + ]+++++++++>[ <->- ]>>+> + [ <[ - ]<<+>>>- ]>[ - ]+<<[ >+>-<<- ]<<<[ >>+>+<<<- ]>>>[ <<<+>>>- ]<>>[ <+>- ]<<- + [ >[ - ]<[ - ] ]>>+< + [ >[ - ]<- ]<++++++++[ <++++++<++++++>>- ]>>>[ >+>+<<- ]>>[ <<+>>- ]<[ <<<<<.>>>>>- ]<<<<<<.>>[ - ]>[ - ]++++[ <++++++++>- ]<.>++++[ <++++++++>- ]<++.>+++++[ <+++++++++>- ]<.><+++++..--------.-------.>>[ >>+>+<<<- ]>>>[ <<<+>>>- ]<[ <<<<++++++++++++++.>>>>- ]<<<<[ - ]>++++[ <++++++++>- ]<.>+++++++++[ <+++++++++>- ]<--.---------.>+++++++[ <---------->- ]<.>++++++[ <+++++++++++>- ]<.+++..+++++++++++++.>++++++++[ <---------->- ]<--.>+++++++++[ <+++++++++>- ]<--.-.>++++++++[ <---------->- ]<++.>++++++++[ <++++++++++>- ]<++++.------------.---.>+++++++[ <---------->- ]<+.>++++++++[ <+++++++++++>- ]<-.>++[ <----------->- ]<.+++++++++++..>+++++++++[ <---------->- ]<-----.---.+++.---.[ - ]<<< ] ] 14 , unitTape = diff --git a/.output/golden/bf/eval/logged/tree/Word8Type/fascistHelloWorld.logged b/.output/golden/bf/eval/logged/tree/Word8Type/fascistHelloWorld.logged index b997657fb..20377a10f 100644 --- a/.output/golden/bf/eval/logged/tree/Word8Type/fascistHelloWorld.logged +++ b/.output/golden/bf/eval/logged/tree/Word8Type/fascistHelloWorld.logged @@ -28,7 +28,7 @@ dump: Unit , + , + , - [ > [ ->+++<<+++> ] << ] + [ >[ ->+++<<+++> ]<< ] , > , - , - @@ -55,7 +55,7 @@ dump: Unit , < , + , - [ > [ +>+ ] >> ] + [ >[ +>+ ]>> ] , < , - , - diff --git a/.output/golden/bf/eval/logged/tree/Word8Type/fibonacci.logged b/.output/golden/bf/eval/logged/tree/Word8Type/fibonacci.logged index 2f9af11ef..91b73fe52 100644 --- a/.output/golden/bf/eval/logged/tree/Word8Type/fibonacci.logged +++ b/.output/golden/bf/eval/logged/tree/Word8Type/fibonacci.logged @@ -104,17 +104,17 @@ dump: Unit , < , < , - [ > [ >>>>>>+>+<<<<<<<- ] >>>>>>> [ <<<<<<<+>>>>>>>- ] < + [ >[ >>>>>>+>+<<<<<<<- ]>>>>>>>[ <<<<<<<+>>>>>>>- ]< [ >++++++++++ - [ -<- [ >>+>+<<<- ] >>> [ <<<+>>>- ] +< - [ > [ - ] < [ - ] ] > - [ << [ >>>+<<<- ] >> [ - ] ] << - ] >>> [ >>+>+<<<- ] >>> [ <<<+>>>- ] +< - [ > [ - ] < [ - ] ] > - [ <<+>> [ - ] ] <<<<<<< - ] >>>>> - [ ++++++++++++++++++++++++++++++++++++++++++++++++. [ - ] ] ++++++++++< [ ->-< ] >++++++++++++++++++++++++++++++++++++++++++++++++. [ - ] <<<<<<<<<<<< [ >>>+>+<<<<- ] >>>> [ <<<<+>>>>- ] <- - [ >>.>.<<< [ - ] ] << [ >>+>+<<<- ] >>> [ <<<+>>>- ] << [ <+>- ] > [ <+>- ] <<<- + [ -<-[ >>+>+<<<- ]>>>[ <<<+>>>- ]+< + [ >[ - ]<[ - ] ]> + [ <<[ >>>+<<<- ]>>[ - ] ]<< + ]>>>[ >>+>+<<<- ]>>>[ <<<+>>>- ]+< + [ >[ - ]<[ - ] ]> + [ <<+>>[ - ] ]<<<<<<< + ]>>>>> + [ ++++++++++++++++++++++++++++++++++++++++++++++++.[ - ] ]++++++++++<[ ->-< ]>++++++++++++++++++++++++++++++++++++++++++++++++.[ - ]<<<<<<<<<<<<[ >>>+>+<<<<- ]>>>>[ <<<<+>>>>- ]<- + [ >>.>.<<<[ - ] ]<<[ >>+>+<<<- ]>>>[ <<<+>>>- ]<<[ <+>- ]>[ <+>- ]<<<- ] , + , + @@ -217,17 +217,17 @@ dump: Unit , < , < , - [ > [ >>>>>>+>+<<<<<<<- ] >>>>>>> [ <<<<<<<+>>>>>>>- ] < + [ >[ >>>>>>+>+<<<<<<<- ]>>>>>>>[ <<<<<<<+>>>>>>>- ]< [ >++++++++++ - [ -<- [ >>+>+<<<- ] >>> [ <<<+>>>- ] +< - [ > [ - ] < [ - ] ] > - [ << [ >>>+<<<- ] >> [ - ] ] << - ] >>> [ >>+>+<<<- ] >>> [ <<<+>>>- ] +< - [ > [ - ] < [ - ] ] > - [ <<+>> [ - ] ] <<<<<<< - ] >>>>> - [ ++++++++++++++++++++++++++++++++++++++++++++++++. [ - ] ] ++++++++++< [ ->-< ] >++++++++++++++++++++++++++++++++++++++++++++++++. [ - ] <<<<<<<<<<<< [ >>>+>+<<<<- ] >>>> [ <<<<+>>>>- ] <- - [ >>.>.<<< [ - ] ] << [ >>+>+<<<- ] >>> [ <<<+>>>- ] << [ <+>- ] > [ <+>- ] <<<- + [ -<-[ >>+>+<<<- ]>>>[ <<<+>>>- ]+< + [ >[ - ]<[ - ] ]> + [ <<[ >>>+<<<- ]>>[ - ] ]<< + ]>>>[ >>+>+<<<- ]>>>[ <<<+>>>- ]+< + [ >[ - ]<[ - ] ]> + [ <<+>>[ - ] ]<<<<<<< + ]>>>>> + [ ++++++++++++++++++++++++++++++++++++++++++++++++.[ - ] ]++++++++++<[ ->-< ]>++++++++++++++++++++++++++++++++++++++++++++++++.[ - ]<<<<<<<<<<<<[ >>>+>+<<<<- ]>>>>[ <<<<+>>>>- ]<- + [ >>.>.<<<[ - ] ]<<[ >>+>+<<<- ]>>>[ <<<+>>>- ]<<[ <+>- ]>[ <+>- ]<<<- ] ] 209 , unitTape = diff --git a/.output/golden/bf/eval/logged/tree/Word8Type/helloWorld.logged b/.output/golden/bf/eval/logged/tree/Word8Type/helloWorld.logged index b0e55304f..a5491570c 100644 --- a/.output/golden/bf/eval/logged/tree/Word8Type/helloWorld.logged +++ b/.output/golden/bf/eval/logged/tree/Word8Type/helloWorld.logged @@ -9,7 +9,7 @@ dump: Unit , + , + , - [ >++++ [ >++>+++>+++>+<<<<- ] >+>+>->>+ [ < ] <- ] + [ >++++[ >++>+++>+++>+<<<<- ]>+>+>->>+[ < ]<- ] , > , > , . diff --git a/.output/golden/bf/eval/logged/tree/Word8Type/padHelloWorld.logged b/.output/golden/bf/eval/logged/tree/Word8Type/padHelloWorld.logged index 514bd5bd0..28677a5cd 100644 --- a/.output/golden/bf/eval/logged/tree/Word8Type/padHelloWorld.logged +++ b/.output/golden/bf/eval/logged/tree/Word8Type/padHelloWorld.logged @@ -8,7 +8,7 @@ dump: Unit , < , + , - [ + [ <+>--->->->-<<< ] > ] + [ +[ <+>--->->->-<<< ]> ] , < , < , - diff --git a/.output/golden/bf/eval/logged/tree/Word8Type/theShortestHelloWorld.logged b/.output/golden/bf/eval/logged/tree/Word8Type/theShortestHelloWorld.logged index cbe627633..dc354e6b2 100644 --- a/.output/golden/bf/eval/logged/tree/Word8Type/theShortestHelloWorld.logged +++ b/.output/golden/bf/eval/logged/tree/Word8Type/theShortestHelloWorld.logged @@ -2,7 +2,7 @@ dump: Unit { unitUI = IU [ + , - [ -->- [ >>+>-----<< ] <--<--- ] + [ -->-[ >>+>-----<< ]<--<--- ] , > , - , . diff --git a/.output/golden/bf/eval/logged/tree/Word8Type/triangle.logged b/.output/golden/bf/eval/logged/tree/Word8Type/triangle.logged index 17b1b2373..2639c54c6 100644 --- a/.output/golden/bf/eval/logged/tree/Word8Type/triangle.logged +++ b/.output/golden/bf/eval/logged/tree/Word8Type/triangle.logged @@ -40,13 +40,13 @@ dump: Unit , < , < , - [ - [ ->+< ] > [ -<+>>>.<< ] >>> + [ -[ ->+< ]>[ -<+>>>.<< ]>>> [ - [ ->++++++++ [ >++++<- ] >.<< [ ->+< ] +> [ ->++++++++++<<+> ] >. [ - ] > ] - ] +<<< - [ - [ ->+< ] +> - [ -<+>>>- [ ->+< ] ++> [ -<-> ] <<< ] <<<< - ] ++++++++++.+++. [ - ] < + [ ->++++++++[ >++++<- ]>.<<[ ->+< ]+>[ ->++++++++++<<+> ]>.[ - ]> ] + ]+<<< + [ -[ ->+< ]+> + [ -<+>>>-[ ->+< ]++>[ -<-> ]<<< ]<<<< + ]++++++++++.+++.[ - ]< ] , + , + diff --git a/.output/golden/bf/eval/logged/tree/Word8Type/value256.logged b/.output/golden/bf/eval/logged/tree/Word8Type/value256.logged index 6e9e468ea..b692c3a42 100644 --- a/.output/golden/bf/eval/logged/tree/Word8Type/value256.logged +++ b/.output/golden/bf/eval/logged/tree/Word8Type/value256.logged @@ -14,13 +14,13 @@ dump: Unit , + , < , - [ >-< [ >++++<- ] > [ <++++++++>- ] < [ >++++++++<- ] +> - [ >++++++++++ [ >+++++<- ] >+.-. [ - ] << [ - ] <-> ] < - [ >>+++++++ [ >+++++++<- ] >.+++++. [ - ] <<<- ] + [ >-<[ >++++<- ]>[ <++++++++>- ]<[ >++++++++<- ]+> + [ >++++++++++[ >+++++<- ]>+.-.[ - ]<<[ - ]<-> ]< + [ >>+++++++[ >+++++++<- ]>.+++++.[ - ]<<<- ] ] , > , - [ >++++++++ [ >+++++++<- ] >. [ - ] <<- ] + [ >++++++++[ >+++++++<- ]>.[ - ]<<- ] , < , + , + @@ -85,7 +85,7 @@ dump: Unit , - , . , - [ [ - ] < ] + [ [ - ]< ] ] 81 , unitTape = ( diff --git a/.output/golden/sq/eval/logged/esolangs/helloWorld.logged b/.output/golden/sq/eval/logged/esolangs/helloWorld.logged index 953788ee0..b866e5a24 100644 --- a/.output/golden/sq/eval/logged/esolangs/helloWorld.logged +++ b/.output/golden/sq/eval/logged/esolangs/helloWorld.logged @@ -1,5 +1,5 @@ dump: Unit - { unitIU = - 1 + { unitIU = -1 , unitRAM = [ 12 , 12 @@ -14,7 +14,7 @@ dump: Unit , 37 , 12 , 0 - , - 1 + , -1 , 15 , 38 , 36 @@ -33,13 +33,13 @@ dump: Unit , 30 , 36 , 12 - , - 1 + , -1 , 37 , 37 , 0 , 53 , 0 - , - 1 + , -1 , 72 , 101 , 108 diff --git a/.output/golden/sq/eval/logged/hello.logged b/.output/golden/sq/eval/logged/hello.logged index e1c8ab42f..de835a2da 100644 --- a/.output/golden/sq/eval/logged/hello.logged +++ b/.output/golden/sq/eval/logged/hello.logged @@ -1,23 +1,23 @@ dump: Unit - { unitIU = - 1 + { unitIU = -1 , unitRAM = [ 15 , 31 - , - 1 + , -1 , 31 - , - 1 - , - 1 + , -1 + , -1 , 16 , 1 - , - 1 + , -1 , 16 , 3 - , - 1 + , -1 , 15 , 15 , 0 , 0 - , - 1 + , -1 , 72 , 101 , 108 diff --git a/.output/golden/sq/eval/logged/longHello.logged b/.output/golden/sq/eval/logged/longHello.logged index e1c8ab42f..de835a2da 100644 --- a/.output/golden/sq/eval/logged/longHello.logged +++ b/.output/golden/sq/eval/logged/longHello.logged @@ -1,23 +1,23 @@ dump: Unit - { unitIU = - 1 + { unitIU = -1 , unitRAM = [ 15 , 31 - , - 1 + , -1 , 31 - , - 1 - , - 1 + , -1 + , -1 , 16 , 1 - , - 1 + , -1 , 16 , 3 - , - 1 + , -1 , 15 , 15 , 0 , 0 - , - 1 + , -1 , 72 , 101 , 108 diff --git a/.output/golden/sq/eval/logged/mazonka/factorial.logged b/.output/golden/sq/eval/logged/mazonka/factorial.logged index 10b4c2571..91442e7b7 100644 --- a/.output/golden/sq/eval/logged/mazonka/factorial.logged +++ b/.output/golden/sq/eval/logged/mazonka/factorial.logged @@ -1,5 +1,5 @@ dump: Unit - { unitIU = - 1 + { unitIU = -1 , unitRAM = [ 0 , 0 @@ -2887,7 +2887,7 @@ dump: Unit , 8865 , 2885 , 8865 - , - 1 + , -1 , 2888 , 8870 , 8870 @@ -3016,7 +3016,7 @@ dump: Unit , 8867 , 3020 , 8851 - , - 1 + , -1 , 3017 , 8870 , 8870 @@ -3223,7 +3223,7 @@ dump: Unit , 8865 , 3221 , 8865 - , - 1 + , -1 , 3224 , 8870 , 8870 @@ -5618,7 +5618,7 @@ dump: Unit , 8864 , 5616 , 8864 - , - 1 + , -1 , 5619 , 8870 , 8870 @@ -6020,7 +6020,7 @@ dump: Unit , 8865 , 6160 , 8853 - , - 1 + , -1 , 6021 , 8864 , 8864 @@ -6337,7 +6337,7 @@ dump: Unit , 8870 , 6347 , 8854 - , - 1 + , -1 , 6338 , 8872 , 8872 @@ -8653,7 +8653,7 @@ dump: Unit , 8864 , 8651 , 8864 - , - 1 + , -1 , 8654 , 8864 , 8864 @@ -8841,10 +8841,10 @@ dump: Unit , 8838 , 8870 , 8870 - , - 1 - , - 2 - , - 3 - , - 4 + , -1 + , -2 + , -3 + , -4 , 0 , 10 , 100 @@ -8870,223 +8870,223 @@ dump: Unit , 0 , 0 , 0 - , - 1 + , -1 , 0 , 1 - , - 13 + , -13 , 0 - , - 8874 - , - 8835 + , -8874 + , -8835 , 0 , 0 , 479001600 , 8861 - , - 763 - , - 8876 + , -763 + , -8876 , 13 , 1 - , - 479001600 + , -479001600 , 0 , 0 , 0 , 479001600 - , - 3814 - , - 8881 - , - 479001600 + , -3814 + , -8881 + , -479001600 , 479001600 , 1 - , - 8878 + , -8878 , 479001600 - , - 6317 - , - 8890 + , -6317 + , -8890 , 8 , 0 , 479001600 - , - 8888 - , - 479001600 + , -8888 + , -479001600 , 47900160 - , - 8537 - , - 8897 + , -8537 + , -8897 , 7 , 0 , 47900160 - , - 8898 - , - 47900160 + , -8898 + , -47900160 , 4790016 - , - 8537 - , - 8905 + , -8537 + , -8905 , 6 , 6 , 4790016 - , - 8906 - , - 4790016 + , -8906 + , -4790016 , 479001 - , - 8537 - , - 8913 + , -8537 + , -8913 , 5 , 1 , 479001 - , - 8914 - , - 479001 + , -8914 + , -479001 , 47900 - , - 8537 - , - 8921 + , -8537 + , -8921 , 4 , 0 , 47900 - , - 8922 - , - 47900 + , -8922 + , -47900 , 4790 - , - 8537 - , - 8929 + , -8537 + , -8929 , 3 , 0 , 4790 - , - 8930 - , - 4790 + , -8930 + , -4790 , 479 - , - 8537 - , - 8937 + , -8537 + , -8937 , 2 , 9 , 479 - , - 8938 - , - 479 + , -8938 + , -479 , 47 - , - 8537 - , - 8945 + , -8537 + , -8945 , 1 , 7 , 47 - , - 8946 - , - 47 + , -8946 + , -47 , 4 - , - 8537 - , - 8953 + , -8537 + , -8953 , 0 , 4 , 4 - , - 8954 - , - 4 + , -8954 + , -4 , 0 - , - 8537 - , - 8961 - , - 8377 - , - 8961 + , -8537 + , -8961 + , -8377 + , -8961 , 0 - , - 8962 + , -8962 , 0 , 7 - , - 8959 + , -8959 , 4 - , - 4 - , - 479001600 + , -4 + , -479001600 , 0 , 79 , 40 - , - 7 - , - 4 - , - 47 - , - 40 + , -7 + , -4 + , -47 + , -40 , 4 , 80 - , - 79 - , - 8 - , - 159 - , - 80 + , -79 + , -8 + , -159 + , -80 , 8947 , 10 , 39 - , - 7875 - , - 8983 + , -7875 + , -8983 , 40 , 4 , 20 , 2 , 40 - , - 39 - , - 4 - , - 79 - , - 40 + , -39 + , -4 + , -79 + , -40 , 8947 , 10 , 19 - , - 7875 - , - 8997 + , -7875 + , -8997 , 20 , 2 , 10 , 1 , 20 - , - 19 - , - 2 - , - 39 - , - 20 + , -19 + , -2 + , -39 + , -20 , 8947 , 10 , 9 - , - 7875 - , - 9011 - , - 80 + , -7875 + , -9011 + , -80 , 8939 , 10 , 30 , 10 - , - 9 - , - 1 - , - 19 - , - 10 + , -9 + , -1 + , -19 + , -10 , 2 , 40 - , - 30 - , - 4 - , - 70 - , - 40 + , -30 + , -4 + , -70 + , -40 , 8939 , 10 , 10 - , - 7875 - , - 9031 + , -7875 + , -9031 , 20 , 2 , 10 , 1 , 20 - , - 10 - , - 2 - , - 30 - , - 20 + , -10 + , -2 + , -30 + , -20 , 8939 , 10 , 0 - , - 7875 - , - 9045 + , -7875 + , -9045 , 10 , 16 , 40 - , - 1 + , -1 , 10 , 0 - , - 1 - , - 10 - , - 10 - , - 16 - , - 8 - , - 96 - , - 80 + , -1 + , -10 + , -10 + , -16 + , -8 + , -96 + , -80 , 8915 , 10 , 6 - , - 7875 - , - 9063 + , -7875 + , -9063 , 0 , 0 , 0 , 0 , 10 - , - 6 - , - 1 - , - 16 - , - 10 + , -6 + , -1 + , -16 + , -10 ] } diff --git a/.output/golden/sq/eval/logged/mazonka/helloWorld.logged b/.output/golden/sq/eval/logged/mazonka/helloWorld.logged index 953788ee0..b866e5a24 100644 --- a/.output/golden/sq/eval/logged/mazonka/helloWorld.logged +++ b/.output/golden/sq/eval/logged/mazonka/helloWorld.logged @@ -1,5 +1,5 @@ dump: Unit - { unitIU = - 1 + { unitIU = -1 , unitRAM = [ 12 , 12 @@ -14,7 +14,7 @@ dump: Unit , 37 , 12 , 0 - , - 1 + , -1 , 15 , 38 , 36 @@ -33,13 +33,13 @@ dump: Unit , 30 , 36 , 12 - , - 1 + , -1 , 37 , 37 , 0 , 53 , 0 - , - 1 + , -1 , 72 , 101 , 108 diff --git a/.output/golden/sq/eval/logged/mazonka/hi.logged b/.output/golden/sq/eval/logged/mazonka/hi.logged index f06a96fc8..4167effe6 100644 --- a/.output/golden/sq/eval/logged/mazonka/hi.logged +++ b/.output/golden/sq/eval/logged/mazonka/hi.logged @@ -1,15 +1,15 @@ dump: Unit - { unitIU = - 1 + { unitIU = -1 , unitRAM = [ 0 - , - 1 + , -1 , 3 , 10 - , - 1 + , -1 , 6 , 0 , 0 - , - 1 + , -1 , 72 , 105 ] diff --git "a/.output/golden/ws/eval/logged/stn/asciiOff/original/calc-1\n.logged" "b/.output/golden/ws/eval/logged/stn/asciiOff/original/calc-1\n.logged" index 39178b0e9..c181b45e4 100644 --- "a/.output/golden/ws/eval/logged/stn/asciiOff/original/calc-1\n.logged" +++ "b/.output/golden/ws/eval/logged/stn/asciiOff/original/calc-1\n.logged" @@ -307,7 +307,7 @@ dump: Unit , IAL Dup , IAL ( Cons - ( - 1 ) + ( -1 ) ) , IAL ( Binary Sub ) , IControl @@ -502,6 +502,6 @@ dump: Unit , 0 , 0 , 0 - , - 1 + , -1 ] } diff --git "a/.output/golden/ws/eval/logged/stn/asciiOn/original/calc-1\n.logged" "b/.output/golden/ws/eval/logged/stn/asciiOn/original/calc-1\n.logged" index 25a1fee0d..7e55fbefc 100644 --- "a/.output/golden/ws/eval/logged/stn/asciiOn/original/calc-1\n.logged" +++ "b/.output/golden/ws/eval/logged/stn/asciiOn/original/calc-1\n.logged" @@ -307,7 +307,7 @@ dump: Unit , IAL Dup , IAL ( Cons - ( - 1 ) + ( -1 ) ) , IAL ( Binary Sub ) , IControl @@ -502,6 +502,6 @@ dump: Unit , 0 , 0 , 0 - , - 1 + , -1 ] } diff --git "a/.output/golden/ws/eval/logged/ws/asciiOff/original/calc-1\n.logged" "b/.output/golden/ws/eval/logged/ws/asciiOff/original/calc-1\n.logged" index 39178b0e9..c181b45e4 100644 --- "a/.output/golden/ws/eval/logged/ws/asciiOff/original/calc-1\n.logged" +++ "b/.output/golden/ws/eval/logged/ws/asciiOff/original/calc-1\n.logged" @@ -307,7 +307,7 @@ dump: Unit , IAL Dup , IAL ( Cons - ( - 1 ) + ( -1 ) ) , IAL ( Binary Sub ) , IControl @@ -502,6 +502,6 @@ dump: Unit , 0 , 0 , 0 - , - 1 + , -1 ] } diff --git "a/.output/golden/ws/eval/logged/ws/asciiOn/original/calc-1\n.logged" "b/.output/golden/ws/eval/logged/ws/asciiOn/original/calc-1\n.logged" index 25a1fee0d..7e55fbefc 100644 --- "a/.output/golden/ws/eval/logged/ws/asciiOn/original/calc-1\n.logged" +++ "b/.output/golden/ws/eval/logged/ws/asciiOn/original/calc-1\n.logged" @@ -307,7 +307,7 @@ dump: Unit , IAL Dup , IAL ( Cons - ( - 1 ) + ( -1 ) ) , IAL ( Binary Sub ) , IControl @@ -502,6 +502,6 @@ dump: Unit , 0 , 0 , 0 - , - 1 + , -1 ] } diff --git a/.output/golden/ws/il/original/calc.il b/.output/golden/ws/il/original/calc.il index 8d899f03e..98e7e427b 100644 --- a/.output/golden/ws/il/original/calc.il +++ b/.output/golden/ws/il/original/calc.il @@ -304,7 +304,7 @@ , IAL Dup , IAL ( Cons - ( - 1 ) + ( -1 ) ) , IAL ( Binary Sub ) , IControl diff --git a/Makefile b/Makefile index 7605d3dfc..862290ad9 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: all bench build check clean configure exec fast golden haddock hlint main output repl report run stan stylish test tix update +.PHONY: all bench build check check-whitespace clean configure exec fast golden haddock hlint hpack install main output repl report run sdist stan stylish test tix update all: update fast bench @@ -12,6 +12,9 @@ build: check: cabal check +check-whitespace: + git check-whitespace + clean: cabal new-clean if test -d .cabal-sandbox; then cabal sandbox delete; fi @@ -26,7 +29,7 @@ exec: make tix cabal new-exec --jobs helma -fast: main report +fast: main report sdist install golden: if test -d .output/golden; then rm -r .output/golden; fi @@ -37,6 +40,12 @@ haddock: hlint: ./hlint.sh +hpack: + curl -sSL https://github.com/sol/hpack/raw/main/get-hpack.sh | bash + +install: + cabal install all --overwrite-policy=always + main: make stylish configure check build test @@ -48,15 +57,21 @@ repl: report: make haddock stan hlint + ./report.sh run: make tix cabal new-run --jobs helma +sdist: + cabal sdist + stan: ./stan.sh + mv stan.html docs/reports stylish: + #curl -sL https://raw.github.com/haskell/stylish-haskell/master/scripts/latest.sh | sh -s "-r -v -i hs" stylish-haskell -r -v -i hs test: diff --git "a/\\" "b/\\" deleted file mode 100644 index 273b8f7c1..000000000 --- "a/\\" +++ /dev/null @@ -1,28 +0,0 @@ -p 3fc1b51 Add Common Instruction List -f 35794df WIP - -# Rebase 3b8e123..35794df onto 3b8e123 (2 commands) -# -# Commands: -# p, f = use commit -# r, reword = use commit, but edit the commit message -# e, edit = use commit, but stop for amending -# s, squash = use commit, but meld into previous commit -# f, fixup = like "squash", but discard this commit's log message -# x, exec = run command (the rest of the line) using shell -# b, break = stop here (continue rebase later with 'git rebase --continue') -# d, drop = remove commit -# l, label