by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    petelomax
    @petelomax
    puts(1,"Hello World")
    Helen
    @Helen0903
    Would love it if you could add in bitch - https://esolangs.org/wiki/Bitch
    There is a Java interpreter at the bottom of the article
    DennisMitchell
    @DennisMitchell
    @petelomax @Helen0903 I'm currently i the middle of upgrading the servers. I'll take a look at phix and bitch when I'm done.
    DennisMitchell
    @DennisMitchell
    @stasoid The CPY compiler segfaults for me.
    DennisMitchell
    @DennisMitchell
    Ah, that seems to happen if the source file's name contains more than one dot.
    DennisMitchell
    @DennisMitchell
    DennisMitchell
    @DennisMitchell
    I tried my luck with Pyret before the server upgrade, but I didn't have much luck. I'll try again later.
    DennisMitchell
    @DennisMitchell
    @petelomax Both p32 and p64 segfault for me. Do they require a GUI by any chance?
    DennisMitchell
    @DennisMitchell
    @Helen0903 Since TIO is not interactive, I'd need an interpreter that reads the code from a file or a command-line argument. Mangling code and input on STDIN isn't going to work well.
    Helen
    @Helen0903
    Ok I've made it so that it reads code from a file https://paste.ee/p/mZkJm
    When running, it takes the relative path to the file as the only argument
    DennisMitchell
    @DennisMitchell
    @Helen0903 OK, that works nicely. I'm going to need a GitHub repo to be able to link to the interpreter. Should I create one under https://github.com/TryItOnline or would you like to create your own repo?
    Also, many integer-based languages implement a command-line flag to read and/or write characters instead of integers.Might be nice to be able to do quines etc. (Just an idea, not a requirement for TIO.)
    Helen
    @Helen0903
    It's fine to create one under the TIO github
    If it's fine by you
    Also that does sound like a good idea
    I wanted to implement characters at some point but I had no idea how to do it nicely
    I'll send you a version with a character flag?
    DennisMitchell
    @DennisMitchell
    The advantage of having your own repo would be that you can update your interpreter and I just have to do a git pull.
    But if you prefer a repo under the TIO account, I'll just wait for the version with the character flags.
    Helen
    @Helen0903
    In that case I'll make my own repo for it
    Helen
    @Helen0903
    Alright I made a repo: https://github.com/Helen0903/bitch
    DennisMitchell
    @DennisMitchell
    OK, I'll add it asap.
    Helen
    @Helen0903
    Thanks!
    DennisMitchell
    @DennisMitchell
    Maybe it would be better to print the characters without a trailing newline.
    Helen
    @Helen0903
    Oh of course I forgot about that
    Alright updated
    DennisMitchell
    @DennisMitchell
    Pulled.
    Btw, the example on the Esolang page prints 0x14 instead of a space.
    Helen
    @Helen0903
    Oh my bad that's just me failing to convert from hex to decimal
    Thanks for telling me
    DennisMitchell
    @DennisMitchell
    Updates aren't automatic yet. If you change your interpreter, please let me know so I can pull the updates.
    Helen
    @Helen0903
    Alright
    stasoid
    @stasoid
    @DennisMitchell Thank you.
    Did you have problems running phase0 or did you try to build latest Pyret version?
    Looks like machine with a lot of RAM is needed to build it (-max-old-space-size in Makefile is 8GB).
    Compiler flags are in src/arr/compiler/pyret.arr, -compiled-dir is useful for the wrapper not to write to /opt/pyret/compiled/ (I didn't try it myself).
    petelomax
    @petelomax
    re phix: Thanks for trying - I spent 10 mins proving it works fine here before getting a similar segfault after a tiny change. Will get back to you when/if I manage to fix it.
    DennisMitchell
    @DennisMitchell
    @petelomax I found the following errors in my logs, for the 64-bit and 32-bit versions.
    p64: Uhuuh, elf segment at 0000000000400000 requested but the memory is mapped already
    p32: Uhuuh, elf segment at 0000000008048000 requested but the memory is mapped already
    DennisMitchell
    @DennisMitchell
    @stasoid I was able to build phaseA and phaseB just fine; TIO's 2 GiB of RAM and 4 GiB of zram seem to be sufficient. phaseC didn't build, but not because of lack of RAM.
    While it worked most of time, it sometimes failed to run for no apparent reason. I got stuck on that and didn't even try to make it work in the sandbox...
    Helen
    @Helen0903
    @DennisMitchell I've pushed some updates to bitch
    DennisMitchell
    @DennisMitchell
    @Helen0903 Pulled.
    Jens Reidel
    @Gelbpunkt
    @DennisMitchell you may pull Mamba :) I'll fix one last bug when I got the time to, but as of now there's only improvements and v 0.2.0 is released
    Jens Reidel
    @Gelbpunkt
    It now also features a CLI tool shipped with the language, which didn't work before. mamba --version can be used to check if it installed correctly.
    Helen
    @Helen0903
    @DennisMitchell Found some bugs in bitch so I've pushed again
    DennisMitchell
    @DennisMitchell
    @Gelbpunkt Pulled. mamba --version says 0.2.0.
    @Helen0903 Pulled.
    Helen
    @Helen0903
    @DennisMitchell Fixed some more bugs if you don't mind pulling
    DennisMitchell
    @DennisMitchell
    @Helen0903 Pulled.
    Helen
    @Helen0903
    @DennisMitchell Rewrote everything and added some new functionality (sorry for so many frequent updates)
    DennisMitchell
    @DennisMitchell
    @Helen0903 Frequent updates are no problem. The Hello World now prints numbers instead of characters; is that expected?