Comments (3)
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.
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.
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)
- Entering space cancels line of entered text under Mobile Firefox HOT 3
- Feature request non-blocking sandbox, ev. needs yielding engine HOT 9
- Output Strings in the Sandbox Console.
- strange slowdown when typing query larger than input field HOT 2
- sandbox: save dialog cannot be cancelled HOT 2
- HTML eats < HOT 1
- Reconsult HOT 15
- It could be the case that not all errors in the program are reported HOT 6
- Consider indent through write/1 HOT 1
- Parsing error gives JavaScript error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sandbox.