rndmcnlly / aspaas Goto Github PK
View Code? Open in Web Editor NEWAnswer-Set Programming for the Web
Answer-Set Programming for the Web
aspaas: answer-set programing as a service REQUIREMENTS: twisted for python lparse / smodels from http://www.tcs.hut.fi/Software/smodels/ RUNNING: $ twistd -oy aspaas.tac USAGE: GET / -- a nice user-facing front-end POST /solve -- the workhorse Request parameters: - code: lparse programs - args: lparse binary arguments - json: true? display results as a json stream (instead of console text) - jsonp: f? a function to call per the json-padding convention EXAMPLE: Input: code (here are my ice cream preferences) | {chocolate}. | vanilla :- chocolate. args (show me all answer sets) | -n 0 Output: | smodels version 2.33. Reading...done | Answer: 1 | Stable Model: chocolate | Answer: 2 | Stable Model: vanilla | False | Duration: 0.000 | Number of choice points: 1 | Number of wrong choices: 1 | Number of atoms: 3 | Number of rules: 2 | Number of picked atoms: 3 | Number of forced atoms: 0 | Number of truth assignments: 7 | Size of searchspace (removed): 1 (0)
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.