Adrien Guatto
8d772e20e2
Bitwise and.
2011-12-06 15:44:21 +01:00
Adrien Guatto
1ec15b9409
Bitwise operators on integers.
2011-12-06 15:44:21 +01:00
Cédric Pasteur
76fb488f8e
Don't raise errors on cleaning
2011-11-21 10:55:39 +01:00
Cédric Pasteur
2110b8a75f
'make clean' for lib/
2011-11-21 09:12:32 +01:00
Léonard Gérard
4160fdf455
Draft for io
2011-11-21 03:26:26 +01:00
Léonard Gérard
adc47c536a
Improve Java printing and main.
...
genToString is a fully generic to string function
dealing with arrays, primitive arrays, etc.
2011-11-21 03:26:25 +01:00
Adrien Guatto
8b1f4bbe87
Build system: properly install pervasives.h.
2011-11-10 16:53:26 +01:00
Cédric Pasteur
14e7c21e54
Small corrections + missing files
2011-10-20 18:12:06 +02:00
Léonard Gérard
108981c0eb
Static constraints in the source. Equal removed
...
( = ) in pervasives is a stub, it will be typed in a polymorphic way.
This is necessary to have a simple way to transform exp into a static_exp
even when there is the = operator.
2011-06-09 14:53:40 +02:00
Adrien Guatto
36d93a411d
Fix generated C code calling between().
2011-05-12 16:32:52 +02:00
Gwenal Delaval
da648254d8
Added type string to pervasives, with string constants in AST
2011-05-10 17:07:17 +02:00
Cédric Pasteur
0256b571f7
Added pervasives C header
...
It only defines the between function for now
2011-05-03 13:35:13 +02:00
Adrien Guatto
396457abd8
Added assert() and exit() to pervasives.epi.
2011-04-27 14:48:01 +02:00
Léonard Gérard
0fc0c3ba5b
Java main pretty print
2011-03-23 20:31:26 +01:00
Léonard Gérard
46ed02416b
Convolutions and pip working.
2011-03-23 16:53:01 +01:00
Cédric Pasteur
2fdf2855d3
Added a new truncated select operator
...
a[>e<] returns the element in the array at index
e, a[0] if e < 0 and a[n-1] if e >= n
2011-03-22 22:12:59 +01:00
Léonard Gérard
36061f4518
fixed tests to the new iterator syntax.
...
Changed (( and )) to (< and >) since it's very common to write )) !
2011-03-21 22:24:37 +01:00
Léonard Gérard
b8b16a7355
blop
2011-03-21 17:41:00 +01:00
Léonard Gérard
159bab2a55
async constants.
2011-03-08 13:41:28 +01:00
Léonard Gérard
979a6cfbd5
Do stuff in pervasives.
2011-02-14 15:22:13 +01:00
Léonard Gérard
86f743318b
Fixes and basic Java main.
2011-02-14 15:21:57 +01:00
Léonard Gérard
8f4411e145
Recursives Qualnames.
...
In order to have a correct handling of inner classes in Java, and to prepare for modules inside modules.
2011-02-07 14:24:17 +01:00
Adrien Guatto
412fd1f81b
New operator: modulo (written (%))!
2010-10-02 13:01:35 +02:00
Adrien Guatto
e3a03806e4
Added missing boolean operator: XOR.
2010-08-02 16:14:35 +02:00
Cédric Pasteur
221eea1644
Added polymorphic (=) and (<>) operators
...
These two operators really need to be polymorphic,
so they cannot be in Pervasives. a <> b is translated
to not (a = b>) at parsing.
2010-07-27 17:16:49 +02:00
Cédric Pasteur
58d601fc96
Added float versions of operators
2010-07-27 15:32:51 +02:00
Léonard Gérard
12251f960e
Add lib/pervasives.epi, tests, tools
2010-06-21 12:11:06 +02:00