Comments (3)
https://www.swi-prolog.org/pldoc/man?section=streamalias
from ergo.
A good 80% of the work is done.
Input and output streams can be redirected at the Facade
level, and then individually at the Console
and Solver
levels.
Error streams are not being used for the moment but they are correctly set up.
Predicates that read and write now do so from the relevant streams.
A new interface, IInputReader
, has been added to provide GetKey
functionality. The default implementation, ConsoleInputReader
, defaults to Console.ReadKey
and is suitable for the main shell.
TODO: Further decouple System.Console from Ergo Shell, creating an intermediate IConsole
interface, represent streams as Ergo objects.
from ergo.
Closing for now, since the current pipes work fine. Further work is warranted but not necessary
from ergo.
Related Issues (20)
- Databases HOT 1
- Macro expansions cause multiple redundant assertions HOT 1
- Logical Update View
- Abstract Terms as proper first-class ITerms HOT 2
- Inlining
- Static Analyzer HOT 2
- Knowledge Base Refactor HOT 4
- Runtime Variables / Caching Execution Graph Delegates HOT 3
- Dismantle Old Solver HOT 2
- VM-Specialized BuiltIns HOT 1
- Numeric Types / Type System
- Determinacy detection HOT 1
- Optimize BuiltIns (Various)
- Differentiate between Declaring Module and Module (Predicate) HOT 1
- Operators with names that are a substring of another operator's name break the parser
- Rework macros to a more traditional expand_term
- Call stack information is lost in the optimization pass
- Improve Dict pattern matching
- Directives should take multiple arguments and the parentheses should be omitted 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 ergo.