Skip to content
Snippets Groups Projects
  1. Apr 20, 2021
  2. Feb 25, 2021
  3. Dec 08, 2020
  4. Nov 20, 2020
  5. Jul 13, 2020
  6. Apr 28, 2020
  7. Apr 27, 2020
  8. Jan 29, 2020
  9. Jan 28, 2020
    • Etienne Renault's avatar
      channels: fully supported · a07b47a9
      Etienne Renault authored
      Note that even if channels are fully supported
      by the scheduler, some syntax declaration element
      are not supported
      
      * boilerplate/main.go,
      cspinfo/channel.go,
      decl/decl.go,
      main.go,
      tests/prod_cons_simp.go,
      transform/afterchannels.go,
      transform/channels.go,
      transform/meta.go: Here.
      a07b47a9
  10. Jan 27, 2020
  11. Jan 23, 2020
  12. Jan 22, 2020
    • Etienne Renault's avatar
      licence: fix typo · d61af8ba
      Etienne Renault authored
      * Makefile,
      benchs/RERS/rers2go.sh,
      benchs/run-benchmark.sh,
      boilerplate/Makefile,
      boilerplate/go2pins.c,
      boilerplate/go2pins.h,
      boilerplate/main.go,
      cspinfo/channel.go,
      cspinfo/goroutine.go,
      decl/decl.go,
      main.go,
      tests/array.go,
      tests/concurrent_fibonacci.go,
      tests/digit_count.go,
      tests/emptycall.go,
      tests/facto.go,
      tests/fibonacci.go,
      tests/if.go,
      tests/mywhile.go,
      tests/passes/channels.go,
      tests/passes/funcIntArrayArgs.go,
      tests/passes/goroutineOutsideMain.go,
      tests/passes/interface.go,
      tests/passes/map.go,
      tests/passes/notint.go,
      tests/passes/panic.go,
      tests/passes/pointer.go,
      tests/passes/select.go,
      tests/passes/slices.go,
      tests/passes/struct.go,
      tests/passes/switch.go,
      tests/passes/variablename.go,
      tests/prod_cons_simp.go,
      tests/recursion/multirec.go,
      tests/recursion/rec_facto.go,
      tests/run.sh,
      tools/blackbox.go,
      tools/callgraph.go,
      tools/extract_goroutines/main.go,
      tools/formating.go,
      tools/print_ast.go,
      tools/recursion.go,
      transform/afterchannels.go,
      transform/alive.go,
      transform/arithmeticcall.go,
      transform/arraytreatment.go,
      transform/cfg/build.go,
      transform/cfg/eliminatecallexprstmt.go,
      transform/cfg/functioncalls.go,
      transform/cfg/linkresults.go,
      transform/cfg/transform.go,
      transform/cfg/types.go,
      transform/channels.go,
      transform/checktype.go,
      transform/conditionnalccall.go,
      transform/elsefull.go,
      transform/format.go,
      transform/functiondefs.go,
      transform/goroutine.go,
      transform/injectdecls.go,
      transform/localvariableassignments.go,
      transform/meta.go,
      transform/normalizedeclarations.go,
      transform/regularizedaffect.go,
      transform/routineassignments.go,
      transform/routinecounter.go,
      transform/util.go,
      transform/visitor.go: Here.
      d61af8ba
    • Etienne Renault's avatar
      go2pins: update instructions to execute · 586fc780
      Etienne Renault authored
      * main.go: Here.
      586fc780
    • Etienne Renault's avatar
      go2pins: add version number · 9fd4a3ff
      Etienne Renault authored
      * main.go: Here.
      9fd4a3ff
    • Etienne Renault's avatar
      cspinfo: regroup CSP informations · 897fdcec
      Etienne Renault authored
      * channel/channel.go -> cspinfo/channel.go,
      goroutine/goroutine.go -> cspinfo/goroutine.go : Rename.
      *decl/decl.go,
      main.go,
      transform/routineassignments.go,
      transform/routinecounter.go: Here.
      897fdcec
  13. Jan 21, 2020
    • Etienne Renault's avatar
      transform: add support for calls in conditionnal stmt · 790dee47
      Etienne Renault authored
      * main.go, transform/conditionnalccall.go: Here.
      790dee47
    • Etienne Renault's avatar
      licence: add it everywhere · 19c5b2f2
      Etienne Renault authored
      Makefile,
      benchs/RERS/rers2go.sh,
      benchs/run-benchmark.sh,
      boilerplate/Makefile,
      boilerplate/go2pins.c,
      boilerplate/go2pins.h,
      boilerplate/main.go,
      channel/channel.go,
      decl/decl.go,
      goroutine/goroutine.go,
      main.go,
      tests/array.go,
      tests/concurrent_fibonacci.go,
      tests/digit_count.go,
      tests/facto.go,
      tests/fibonacci.go,
      tests/mywhile.go,
      tests/passes/channels.go,
      tests/passes/funcIntArrayArgs.go,
      tests/passes/goroutineOutsideMain.go,
      tests/passes/interface.go,
      tests/passes/map.go,
      tests/passes/notint.go,
      tests/passes/panic.go,
      tests/passes/pointer.go,
      tests/passes/select.go,
      tests/passes/slices.go,
      tests/passes/struct.go,
      tests/passes/switch.go,
      tests/passes/variablename.go,
      tests/prod_cons.go,
      tests/prod_cons_simp.go,
      tests/recursion/multirec.go,
      tests/recursion/rec_facto.go,
      tools/blackbox.go,
      tools/callgraph.go,
      tools/extract_goroutines/main.go,
      tools/formating.go,
      tools/print_ast.go,
      tools/recursion.go,
      transform/afterchannels.go,
      transform/alive.go,
      transform/arithmeticcall.go,
      transform/arraytreatment.go,
      transform/cfg/build.go,
      transform/cfg/eliminatecallexprstmt.go,
      transform/cfg/functioncalls.go,
      transform/cfg/linkresults.go,
      transform/cfg/transform.go,
      transform/cfg/types.go,
      transform/channels.go,
      transform/checktype.go,
      transform/elsefull.go,
      transform/format.go,
      transform/functiondefs.go,
      transform/goroutine.go,
      transform/injectdecls.go,
      transform/localvariableassignments.go,
      transform/meta.go,
      transform/normalizedeclarations.go,
      transform/regularizedaffect.go,
      transform/routineassignments.go,
      transform/routinecounter.go,
      transform/util.go,
      transform/visitor.go: Here.
      19c5b2f2
    • Etienne Renault's avatar
      main: names have changed · 1b347d56
      Etienne Renault authored
      * main.go: Here.
      1b347d56
    • Etienne Renault's avatar
      Blackbox and global variables are not supported. · 152a00a4
      Etienne Renault authored
      If a Blackbox (BB) function modifies variable that is also used inside
      of a non-blackbox function the following problem occurs: the variable
      cannot be neither in the blackbox package neither in the normal
      package.
      
      We should try to resolve this problem by :
         (1) analysis wether variables are exclusively used by BB-fun
         (2) pass setter as additionnal argument to BB-functions
      
      Still for now it is preferable to forbbids BB and globals.
      
      * main.go, transform/checktype.go: Here.
      152a00a4
    • Etienne Renault's avatar
      Bug fix when -rers option is not available · 894a07f1
      Etienne Renault authored
      * boilerplate/main.go, main.go: Here.
      894a07f1
    • Etienne Renault's avatar
      Avoid parsing errors for options · 710ca455
      Etienne Renault authored
      * main.go: Here.
      710ca455
    • Etienne Renault's avatar
      Add support for RERS. · 4c4096bd
      Etienne Renault authored
      In RERS challenges, file are written in C and
      the environment is modelled by scanf("%d",...).
      
      During the translation, this statement has been
      converted into __RERS__ = __RERS__ + 1, since this
      variable is only used to represents the environment.
      
      As a consequence, the option -rers "1;2;3" will modify
      the previous assignment in order to represent the
      environment. In other this instruction will be replaced
      by three assignment
         - __RERS__ = 1
         - __RERS__ = 2
         - __RERS__ = 3
      while  the instruction __RERS__ = __RERS__ + 1 will be discarded
      
      * boilerplate/main.go, main.go: Here.
      4c4096bd
    • hmoreau's avatar
      Generate successors for channels · 1db6bf82
      hmoreau authored
      * boilerplate/main.go,
        channel/channel.go,
        decl/decl.go,
        main.go,
        transform/afterchannels.go,
        transform/channels.go: Here.
      1db6bf82
  14. Jan 17, 2020
    • hmoreau's avatar
      New channel package created · 8f3889b9
      hmoreau authored
      In order to recover more easily where the channels are set up, a new
      package has been created, giving details about it.
      
      * boilerplate/main.go,
        channel/channel.go,
        decl/decl.go,
        main.go: Here.
      8f3889b9
    • hmoreau's avatar
      Channel treatment integrated to compileTo · 734cfb2d
      hmoreau authored
      Channels are now treated with all the other transform
      
      * main.go,
        transform/channels.go: Here.
      734cfb2d
  15. Dec 12, 2019
  16. Dec 11, 2019
    • hmoreau's avatar
      Alive transform now apply only for the array · 8e7f25c5
      hmoreau authored
      In order to be clearer, there is now only one alive statement for array
      and no more alive statements for every cases of the array.
      
      * main.go,
        transform/arraytreatment.go: Here.
      8e7f25c5
  17. Dec 09, 2019
  18. Dec 04, 2019