by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    DennisMitchell
    @DennisMitchell
    @moridar719 wopen looks iffy. It doesn't change wheelSize.
    @moridar719 I copied it here: https://github.com/TryItOnline/evil So I'm guessing you can make a pull request? @DennisMitchell would you be comfortable to accepting a pull request to evil interpreter to fix what appears to be a bug?
    @AndrewSav As long as I can verify that it's actually a bug, gladly.
    Andrew Savinykh
    @AndrewSav
    Yep, since I'm no evil expert at all this part concerns me most ;)
    moridar719
    @moridar719
    @moridar719 wopen looks iffy. It doesn't change wheelSize.
    @DennisMitchell was about to say the same thing.
    Daniel Hill
    @YellowOnion
    Haskell compiler is broken
    [1 of 1] Compiling Main ( .code.tio.hs, .code.tio.o )
    Linking .bin.tio ...
    .: file not recognized: Is a directory
    DennisMitchell
    @DennisMitchell
    Could you give me a permalink?
    DennisMitchell
    @DennisMitchell
    Daniel Hill
    @YellowOnion
    Oh I did not see that.
    Benjam Welker
    @benjamw
    Has anybody mentioned the fact that the byte count is actually a character count? Some of the golfing languages use UTF8 characters that are more than 1 byte each
    DennisMitchell
    @DennisMitchell
    @benjamw Jelly, for example, uses Unicode characters, but not necessarily UTF-8. In its codepage, each of the 256 characters it understands is encoded as a single byte.
    DennisMitchell
    @DennisMitchell
    @TaylorAScott TIO doesn't use the version from http://www.zenoshrdlu.com/kapstuff/zsubasic.html, to which the author decided to add string handling. https://github.com/EtchedPixels/ubasic, which is the interpreter TIO uses, doesn't seem to be compatible.
    Taylor Scott
    @TaylorAScott
    @DennisMitchell if you take a look at the ReadMe from the EtchedPixels git you will however see that it supports String variables (A$-Z$ required) and LEFT$(), RIGHT$(), MID$(), CHR$() however none of the these appear to be in use .
    Is it possible that the interpretter that TIO uses is https://github.com/adamdunkels/ubasic
    DennisMitchell
    @DennisMitchell
    No, the setup script definitely pulls the one from EtchedPixels.
    Taylor Scott
    @TaylorAScott
    Then it should support string variables A$-Z$ and string functions, correct?
    DennisMitchell
    @DennisMitchell
    I guess it should.
    Taylor Scott
    @TaylorAScott
    But it doesn't :/
    DennisMitchell
    @DennisMitchell
    That should be easily fixable.
    DennisMitchell
    @DennisMitchell
    The problem is that expr always returns an integer.
    DennisMitchell
    @DennisMitchell
    I think I fixed it.
    DennisMitchell
    @DennisMitchell
    @TaylorAScott Your code still doesn't work (this uBASIC doesn't have the str$ extension), but strings work now in general. https://tio.run/##K01KLM5M/v/f0EDBSUXBVkFJUYnLyEDBGczWUeIyNlDwALM9UnNy8pW4TAwUgsF8BSUuUwOFcDA7PL8oJ0WJy8xAISDI0y8EpEMbZIQ2SK02SJE20HSu//8B
    DennisMitchell
    @DennisMitchell
    Created a pull request: EtchedPixels/ubasic#1
    Taylor Scott
    @TaylorAScott
    @DennisMitchell That's wonderful! Thank you so much -I'll Let you know if I find any other unexpected behavior with it
    CJDennis
    @CJDennis
    Perl5 seems to be broken. I can't get any output even with just print"Hello".
    DennisMitchell
    @DennisMitchell
    CJDennis
    @CJDennis
    @DennisMitchell It turns out it's when you add a blank command line option.
    stasoid
    @stasoid
    Coconut is broken
    DennisMitchell
    @DennisMitchell
    @stasoid Fixed.
    stasoid
    @stasoid
    Thank you
    Anthony
    @crazytonyi

    In PHP, the following :
    echo json_encode([1,2,3]);

    results in the error

    PHP Fatal error: Uncaught Error: Call to undefined function json_encode() in /home/runner/.code.tio:3

    I'm guessing this is related to the Debian/JSON license conflict outlined at https://stackoverflow.com/questions/18239405/php-fatal-error-call-to-undefined-function-json-decode , but that's from 4 years ago, so maybe not. JSON functions are supposed to be core functions in PHP. Is this expected behavior?

    Example tio: https://tio.run/##K8go@G9jXwAkU5Mz8hWyivPz4lPzkvNTUjWiDXWMdIxjNa3//wcA

    masonwheeler
    @masonwheeler
    Hi all. I just ran across TIO, and I was pleasantly surprised to see that the Boo language was one of your supported languages.
    (I'm one of the language maintainers)
    So I looked at it to see if it worked, and it said its version is "tarball Thu Jan 17 08:37:29 UTC 2019", which I assume means it was grabbed from GitHub as a tarball about a month ago.
    But when I tested it I found it's not actually up-to-date, as bugs that were fixed last year are not fixed in this implementation.
    Specifically, in an up-to-date compiler, this ought to work instead of giving a compile error.
    pavelbraginskiy
    @pavelbraginskiy
    @masonwheeler Actually it's just the boo that's provided by Fedora (which TIO runs on)
    masonwheeler
    @masonwheeler
    So Fedora is out of date. Gotcha.
    Goldstein
    @GoldsteinE
    Idris seems to be broken for me
    Simple code timeouts after 60 s
    Even "Hello world" example