Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • T transonic
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • fluiddynfluiddyn
  • transonic
  • Merge requests
  • !9

Use beniget/gast for static analyses and production of new code

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Bitbucket Importer requested to merge bitbucket/merged-pr-9 into branch/default Mar 12, 2019
  • Overview 0
  • Commits 23
  • Pipelines 0
  • Changes 73

Created originally on Bitbucket by paugier (Pierre Augier)

Was already merged in Bitbucket before import, marked as merged by the import user

  • Recreate annotations
  • Cleaner recreate annotations + bugfix Union repr
  • Filter code for annotations
  • Analyses for blocks_if
  • Parse block signatures
  • Analyses: parser using tokens for comments
  • CaptureX for blocks
  • Buggy make_pythran_code with ast analyses
  • Sequential tests work with new make_pythran_code (MPI broken)
  • MPI tests work with new make_pythran_code
  • Add `backends/__init__.py`
  • extast: extended AST with CommentLine nodes
  • @include and "# transonic import" useless!!
  • DeprecatedWarnings and light clean up
  • Update doc
  • Simplify parsing module (nothing for blocks) and debug parsing block signatures
  • Fix bugs: compile fluidsim!

This PR is not totally ready and anyway should not be merged before the first release of [Beniget](https://github.com/serge-sans-paille/beniget).

It solves many long-term issues:

  • https://bitbucket.org/fluiddyn/fluidpythran/issues/6/no-need-for-pythran-import-numpy-as-np
  • https://bitbucket.org/fluiddyn/fluidpythran/issues/30/global-variables-in-pythranized-functions
  • https://bitbucket.org/fluiddyn/fluidpythran/issues/7/support-kernels-with-function-calls
  • https://bitbucket.org/fluiddyn/fluidpythran/issues/1/no-need-for-explicit-return-values-in

Moreover, it is not necessary to import the source files at compilation time so we don’t need to mock modules in setup.py (for example [this kind of horrible things](https://bitbucket.org/fluiddyn/fluidsim/src/757118b1bcaadd5b1352bb98ef5bc3305245d5c3/setup.py#lines-106)).

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: bitbucket/merged-pr-9