by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Taylor Scott
    @TaylorAScott
    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