ergoai / ergoengine Goto Github PK
View Code? Open in Web Editor NEWThe ErgoAI reasoning engine, an advanced object-oriented knowledge management system
License: Apache License 2.0
The ErgoAI reasoning engine, an advanced object-oriented knowledge management system
License: Apache License 2.0
Describe the bug
When loading a JSON file that contains strings with single quote (section 1.3 of "A Guide to ERGOAI Packages"), the quote is not escaped.
To Reproduce
// The file test.json contains: {"a":"blah's"}
ergo> 'test.json'[parse2file('test.ergo')]@\json.
Yes
ergo> [test].
++Warning[GPP]: /tmp/test.ergo:4: input ended while scanning a comment/string: perhaps missing a quote character somewhere above the indicated line.
++Error[Ergo]> [test.ergo] near line(2)/char(19) `s'
unexpected operand:
',', '.', or some other operator may be missing just before the indicated location
++1 error
++compilation aborted
Expected behavior
The single quote should be escaped.
Describe the bug
"HTTP and Web Services" described in chapter 4 of the packages manual does not seem to exist in the officially released installer.
To Reproduce
ergo> 'http://example.com'[http->(?r, ?w)]@\http.
++Error[Ergo]> attempt to call a Prolog predicate in a nonexistent module `ergo_http'
Desktop:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.