Git Product home page Git Product logo

Comments (3)

jariazavalverde avatar jariazavalverde commented on July 28, 2024

I just added read and write families of predicates. Currently, the user output is the console of the browser and the user input is the prompt. Also it's possible to create (virtual) files with open/[3-4]. Now I'm adding an interface for Node.js and for the DOM (html objects).

from sandbox.

 avatar commented on July 28, 2024

Thanks for the update. Is there a documentation? Do you already
support the ISO core write option variable_names/2 ? Do you
support write/1 only or also write_term/2, that takes an option list?

from sandbox.

jariazavalverde avatar jariazavalverde commented on July 28, 2024

We'll document it throughout these weeks. The predicates added are:

  • current_input/1
  • current_output/1
  • set_input/1
  • set_output/2
  • open/[3-4]
  • close/[1-2]
  • get_char/[1-2]
  • get_code/[1-2]
  • put_char/[1-2]
  • put_code/[1-2]
  • nl/[0-1]
  • read/[1-2]
  • read_term/[2-3]
  • write/[1-2]
  • writeq/[1-2]
  • write_canonical/[1-2]
  • write_term/[2-3]

And soon the rest will be added (get_byte, put_byte, etc). read_term supports variables, variable_names and singletons.

from sandbox.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.