domna / scalog Goto Github PK
View Code? Open in Web Editor NEWA project which provides Prolog structures inside of Scala sourcecode.
License: Other
A project which provides Prolog structures inside of Scala sourcecode.
License: Other
The current scalaExpr Regex has the form [^%]* and is automatically converted into a parser which is used in the grammer to parse the file into blocks (whether it is a prolog or a scala part). But the problem with this Regex is, that it parses everything but the % character. This was a workaround for me that the Regex stops consuming everything in my file and recognizes the prolog block of the file.
The problem is that if there is any % character (even in strings) in the scala definiton above the prolog block the result is a parser error.
So there must be a way to stop the regex consuming everything and also have the possibility to write every character in the scala def above.
The cutPList method works without any problems if consuming only one dimensional lists. But if I try to parse a more dimensional list it takes the elements of the first list and stops after the first paranthesis. So it only takes the arguments of the first list.
Ex.: examples/Einstein.scalog with changed return value: List[List[String]] instead of String.
That should return the attributs of every house but it only returns a list of the chars used for the first house.
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.