Git Product home page Git Product logo

scalog's Introduction

Hi there ๐Ÿ‘‹

scalog's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

scalog's Issues

Improve the scalaExpr parser

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.

Convert cutPList method into a parser

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.