Commit Graph

45 Commits

Author SHA1 Message Date
jeltz 545e31c6f9
Change the run_timers execution frequency
We now use the GCD of all the async timers.
2021-01-18 03:47:58 +01:00
jeltz a6f60bbf4e
Fix the timer ISR name 2020-12-30 06:28:41 +01:00
jeltz 55498b4999
Move avr.h functions to avr.c
To avoid multiple definitions of the ISR.
2020-12-30 02:13:39 +01:00
jeltz 4827bdd9fe
WIP: Add a TIMER1 configuration routine in avr.h
The function hasn't been tested on real hardware.
2020-12-30 01:33:48 +01:00
jeltz 8d77b7434b
Add a typedef for char* as string 2020-12-28 04:39:16 +01:00
jeltz 9b44a7a7ab
Create run_timers function for async calls 2020-12-25 15:36:05 +01:00
jeltz fbad83a61d
Add and use atomic_memcpy for the AVR backend 2020-12-22 21:33:04 +01:00
Timothy Bourke fa4aaee865 Typedef for real in C target 2017-09-29 00:08:42 +02:00
Timothy Bourke 94badc5f01 Add an abbreviation for the 'real' type 2017-09-29 00:08:42 +02:00
Gwenaël Delaval 69b8cc5a18 Added operator (=>) in Pervasives module
Operator (=>) for implication added in Pervasives module.

"a => b" is translated into "not a or b" at code generation.
2016-06-25 08:37:47 +02:00
Gwenaël Delaval 015875b279 Math module
The Math module contains mathematic functions.
2015-09-17 16:51:24 +02:00
Gwenaël Delaval c5c5654068 Added bzreax script ; added uninstall target in Makefiles 2015-02-27 15:50:21 +01:00
Gwenaël Delaval bcfcf8cf39 Added iostream in standard library 2012-07-14 14:35:34 +02:00
Gwenaël Delaval ef00823cf7 Added Marc as co-author 2012-06-29 01:43:15 +02:00
Gwenaël Delaval 58086190eb Headers and license file for GPL
Headers for every source file (excluding examples), mentioning
authors, copyright and license (GPL)

COPYING file with GPLv3 content.
2012-06-27 18:14:29 +02:00
Léonard Gérard 8a78bc7d7d Add [external] in the signatures. fix callgraph acordingly. 2012-02-21 16:07:29 +01:00
Cédric Pasteur 2fc0435393 Added simple printf
Typing and clocking done
2011-12-12 10:36:24 +01:00
Adrien Guatto 0f71dbe145 Bitwise or. 2011-12-06 17:46:35 +01:00
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