22 Commits (58086190eb03163873ce007fdce0441f6af0acb7)

Author SHA1 Message Date
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.
12 years ago
Adrien Guatto 76ae2f4518 Loop unrolling. 12 years ago
Léonard Gérard fdab1ac55c Strict-SSA option to switch array encoding. 13 years ago
Léonard Gérard 2a6dab836a Add alias to obc vd. 13 years ago
Cédric Pasteur 8cc879be7a Generate code from interface (.epi) files
It includes the definition of types, constants
and prototypes defined in the interface.
13 years ago
Cédric Pasteur 7d95b95ed7 Merge branch 'memalloc' into decade
Conflicts:
	compiler/global/signature.ml
	compiler/heptagon/analysis/typing.ml
	compiler/heptagon/hept_printer.ml
	compiler/heptagon/hept_utils.ml
	compiler/heptagon/heptagon.ml
	compiler/heptagon/parsing/hept_parser.mly
	compiler/heptagon/parsing/hept_parsetree.ml
	compiler/heptagon/parsing/hept_scoping.ml
	compiler/heptagon/transformations/switch.ml
	compiler/main/hept2mls.ml
	compiler/minils/minils.ml
	compiler/minils/mls_printer.ml
	compiler/obc/c/cgen.ml
	compiler/obc/control.ml
	compiler/utilities/misc.mli
13 years ago
Adrien Guatto 4794045208 Reworked Obc AST: from right patterns to extvalues.
I introduced a notion of extended values in Obc expressions,
replacing the Epattern constructor. Patterns may now only
occur at their rightful place, on the left of an assignment.

This change allows to index global constant arrays.
13 years ago
Cédric Pasteur 0728f3dae7 More work on code generation 13 years ago
Cédric Pasteur 822e87605b One step closer to code generation with memalloc 13 years ago
Cédric Pasteur 3f29e8623d Interaction between linear typing and memalloc 13 years ago
Cédric Pasteur 845d084658 Preserve the order of type and classes definitions 13 years ago
Cédric Pasteur 3c8fc39745 Fix C backend with new obc ast 13 years ago
Cédric Pasteur c6aa63b444 Heptc compiles again
AFor now expects expressions instead of static exps
13 years ago
Léonard Gérard 5d2f7dfa85 jeudi soir. still on mls2obc. 13 years ago
Cédric Pasteur f57d7f1589 Correct translation for Eupdate and Eupdate_field
As the language is SSA, we should assign each 
element only once.
13 years ago
Cédric Pasteur 2c7b609d2e Forme normale Minils 13 years ago
Cédric Pasteur 35775c4131 C backend ported to recent API changes in Obc 13 years ago
Léonard Gérard 86f743318b Fixes and basic Java main. 13 years ago
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.
14 years ago
Cédric Pasteur df12e081ae Refactored Misc
Created two new files: 
 - utilities/global/compiler_options.ml: contains
 the options that can be set using the cli
 - utilities/global/errors.ml: contains global
 errors definition

Misc now only contains helper functions that have 
nothing to do with the ast or the compiler.
14 years ago
Léonard Gérard a54e570d0f Hept Scoping should be ok and documented,
Hept Parsing too,
all the reset to review carefully,
Typing to cut from all the scoping.
14 years ago
Adrien Guatto c328ecb9bd Obc_utils can now compute dependencies of an Obc program. 14 years ago