Giter Site home page Giter Site logo

pluspy's Introduction

pluspy's People

Contributors

fdcprtk avatar lemmy avatar pfeodrippe avatar pratikdeoghare avatar rvanren avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pluspy's Issues

Add support for 'STRING' in PlusPy

One of the TLA+ modules I have written uses 'STRING' which Pluspy declares is an 'unknown identifier'. Looking at pluspy.py, it seems like 'STRING' is not part of the ReservedWords list. Would it be possible to add support for STRING?

Parsing error on module preamble

This is some prose preceding the module definition.

\* WORKAROUND: Comment prose before the module definition.

---- MODULE AsyncGameOfLifeDistributed -----
VARIABLE x

Spec == x = TRUE /\ [][x'\in BOOLEAN]_x
====
markus@avocado:~/src/TLA/_specs/models/realworld/AsyncGameOfLife(master)$ pluspy -c 1 AsyncGameOfLifeDistributed
Parsing failed ['GModule', 'Concat', ("tok: no match with '----'", '* (AsyncGameOfLifeDistributed.tla:1:1)')]
[]
At position ('*', ('AsyncGameOfLifeDistributed.tla', 1), 1, True)
Traceback (most recent call last):
  File "/home/markus/src/TLA/_community/PlusPy/pluspy.py", line 4286, in <module>
    main()
  File "/home/markus/src/TLA/_community/PlusPy/pluspy.py", line 4251, in main
    pp = PlusPy(args[0], seed=seed)
  File "/home/markus/src/TLA/_community/PlusPy/pluspy.py", line 3587, in __init__
    raise PlusPyError("can't load " + file)
__main__.PlusPyError: PlusPyError: can't load AsyncGameOfLifeDistributed.tla

Regression test 11 fails

Hello, thank you for sharing PlusPy.

I just cloned the repository and tried to run tests with ./regres.scr and the test 11 failed.
I tried to run directly ./pluspy -S0 -c100 Exprs and I got can't load TLC : fatal error.

I believe the TLC module is missing. I'll link a pull request.

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.