Giter Site home page Giter Site logo

pytov_old's People

Contributors

efferifick avatar staticfloat avatar yuvix25 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

Watchers

 avatar  avatar

pytov_old's Issues

Recommendation

Hi,

this might not be an issue per se, but looking at the code it seems that regular expressions are used to parse the file contents. Regular expressions are normally hard to debug and might have edge cases which are difficult to find. My recommendation is that you take a look at antlr4. Antrl4 is a parser generator that is very easy to use. Anyhow, if you don't like this issue, feel free to delete it. Otherwise, feel free to look up how to use antlr4. :)

A new home for Pytov

After a few months of work, I am glad to republish Pytov, now as a programming language which stands by itself, no transpiles, no ugly regex, a lexer, a parser, and an interpreter!
Thank you all for your support and feedback, and please continue supporting me at https://github.com/Yuvix25/Pytov!

Does not work for an empty bracket

Step to Reproduce

Create a test.py

if (1 == 1){}

Run

pytov test.py

What I got

Traceback (most recent call last):

  File test.py, line 1
    if (1 == 1):
               ^
SyntaxError: unexpected EOF while parsing

Expected Result

I expect it will work, maybe by implicitly adds pass to the correspond scope

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.