Giter VIP home page Giter VIP logo

experimental's People

Contributors

aroberge avatar icarito avatar nickdrozd 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

Watchers

 avatar  avatar  avatar  avatar

Forkers

icarito nickdrozd

experimental's Issues

Different replacements for same keyword

(You may already have thought of this, but it just occurred to me and I figured I would open an issue.)

The source transformation approach you use here has the downside that it links keywords that might otherwise be separated. Consider the keyword in in Python. This is used to check for membership in iterables and also as part of for expressions. But I think that these two uses don't have anything to do with each other. An expression like for x in s: f(x) is parsed into an AST object with target, iter, and body fields (and orelse, but nobody uses that), and at that point the in helper keyword is gone.

Now, suppose you wanted to use dans as the helper for pour, but appartient to check for membership:

pour nombre dans intervalle(100):
    si nombre appartient premiers:
        imprime(nombre)

I don't think that would be possible here. Is there any way around it?

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.