Skip to content

Examples are broken #452

Closed
Closed

Description

Hi,

with a fresh checkout and build, I can run almost none of the examples (assuming ./pixi-vm examples/foo.pxi is the way to go here)

mu-kanren.pxi -> runtimeException: :pixie.stdlib/AssertionException Var sequence is undefined
mandelbrot.pxi -> RuntimeException: :pixie.stdlib/EOFWhileReadingException Unexpected EOF while reading
tty-io-test.pxi -> RuntimeException: :pixie.io/Exception Expected a LineReader, UTF8InputStream, or BufferedInputStream

I'd like to use pixie for shell scripting, so the tty example is of particular importance to me.

Activity

  1. thomasmulvaney commented on Nov 27, 2015

    @thomasmulvaney
    Member

    I have addressed the tty-io-test.pxi issue in #453
    Feel free to add a sequence function to stdlib as it is missing pull requests are very welcome 😄

  2. jmglov commented on Dec 9, 2015

    @jmglov
    Contributor

    Can we close this now?

  3. thomasmulvaney commented on Dec 9, 2015

    @thomasmulvaney
    Member

    I suspect you'll find #436 fixes the mandelbrot issue.

  4. thomasmulvaney commented on Feb 27, 2016

    @thomasmulvaney
    Member

    I'd like to close this issue but it seems like some other examples are broken. The mu-kanren example fails because sequence is not defined. The gen-docs example fails because it depends on hiccup. I think we should remove the gen-docs example or at least make it work without hiccup. I don't think any examples should depend on external libraries.

    It looks like sequence was removed way back in d22b9c3. I've created issue #502 for adding a sequence function back in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions