Aristide

Results 19 issues of Aristide

I have just installed a binary of OPAM with the [official script](https://raw.githubusercontent.com/ocaml/opam/master/shell/opam_installer.sh) on Mac OS X Yosemite 10.10.5, XCode 7.2.1. Now, trying to install iocaml works fine until `make` fails...

## Syntaxe La syntaxe est celle des associations, avec comme seule différence que le libellé est flanqué des délimiteurs `"/"` et `"\"` (qui évoquent un triangle). Du fait que les...

Source : ``` %%mocodo FOOBAR\: foobar ``` Erreur : ``` ... File "mocodo_notebook/sandbox_svg.py", line 12 u"FOOBAR\": 59, ^ SyntaxError: EOL while scanning string literal ```

bug

- [x] [Assignment expressions](https://www.python.org/dev/peps/pep-0572/). - [ ] [Type hints](https://www.python.org/dev/peps/pep-0484/). - [ ] [With statement](https://www.python.org/dev/peps/pep-0343/). - [x] `print` function keyword arguments (`sep`, `end`, `file`, `flush`). Use existing feature [`keyword_argument`](https://github.com/laowantong/paroxython/blob/master/paroxython/resources/spec.md#feature-keyword_argument).

enhancement

Currently, the learning costs are calculated with a simple mathematical formula. This approach is obviously very basic. One could imagine letting the teacher provide the learning cost associated with the...

enhancement

The techniques currently used to match algorithmic features in a given source code are: - a conversion of its AST into a textual flattened representation; - regular expressions for low-level...

enhancement
question

```paroxython collect --log path/to/django-master/``` ... produces the following performance report: ``` Labelling 2668 programs. Elapsed times by features (in seconds) -------------------------------------- 333.6141 TOTAL 65.2732 node 26.0090 if_then_branch 16.3087 index 10.1161...

performance

The regex suggestion fails on this selection: ``` /body/1/_type=Assign /body/1/_pos=1:1- /body/1/assigntargets/length=1 /body/1/assigntargets/1/_hash=0xc0e73f33 /body/2/_type=If /body/2/body/length=1 /body/2/body/1/_type=AugAssign /body/2/body/1/assigntarget/_hash=0xc0e73f33 /body/2/orelse/length=0 ```

bug

Possible heuristic: any recursive call is returned directly. Need context?

enhancement

For instance, the construct `index`: ```re ^(.*?)/_type='Subscript' \n(?:\1.+\n)*?\1/lineno=(?P\d+) \n(?:\1.+\n)*?\1/slice/_type='Index' ``` ... could be expressed as: ```re ^(.*?)/_type='Subscript' (?(DEFINE)(?P\n(?:\1.+\n)*\1)) (?&sq)/lineno=(?P\d+) (?&sq)/slice/_type='Index' ``` To further mute the regex noise, the definition could...