31 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
Léonard Gérard 8a78bc7d7d Add [external] in the signatures. fix callgraph acordingly. 12 years ago
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.
13 years ago
Léonard Gérard 46ed39b7b3 Remove some warnings. 13 years ago
Léonard Gérard 2a2b363bf7 Real asynchronous resets. 13 years ago
Léonard Gérard d6240e1c67 100 and java scalarized 13 years ago
Cédric Pasteur 740114764c Fixed stupid bug in the order of args 13 years ago
Leonard Gerard 8da5ce4648 no order in declarations 13 years ago
Léonard Gérard b8b16a7355 blop 13 years ago
Léonard Gérard 02730b8a0b refactoring static evaluation. 13 years ago
Cédric Pasteur b1b8e103f2 Added partial application for iterators
For instance:
  ... = map<<n>> (f<<se>>)((t1, t1'))(t2, t3)

is translated to:
  for(int i =...)
    ... = f(t1, t1', t2[i], t3[i])
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
Léonard Gérard 0768babab7 Removed brocken and useless mlsc, cleaned heptc. 14 years ago
Léonard Gérard 2ae809c971 Fresh vars, and ident refactoring.
Idents.enter_node should be called when entering a node, it is done automagically by the mapfold unless you call directly Hept_mapfold.node_dec.
14 years ago
Adrien Guatto 1fd2f374ff New misc functions, renamed make_list_compare to list_compare.
New functions fold_right_i and option_compare.
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 02db2ad6b4 Changed compile flags, and cleaned a bit.
Warn as error for partial match.
Warn for unused variables : added some TODO to check.
PS : I'll deal with callgraph which is doing things that Modules does.
14 years ago
Cédric Pasteur b6561c4a9f Fixed bug in Callgraph
Only add new nodes to the environment.
14 years ago
Léonard Gérard cb86418cb3 Small callgraph todo. 14 years ago
Cédric Pasteur cc039ac42d Make heptc compile 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
Léonard Gérard 5c09abeb18 Revet last commit a5f89876c2 and gives the right fix.
Plus remove all the forbidden '\n', replaced with '@.' or '@\n' depending on context.
14 years ago
Léonard Gérard 9eaafe9736 replaced mapfold with callgraph_mapfold. And the fixes to compile. 14 years ago
Léonard Gérard 9df4f625a2 Fixed location to use formatter instead of out_channel. 14 years ago
Léonard Gérard f124bb4fd7 Refactoring Ident -> Idents ( uniform with Names etc ) 14 years ago
Léonard Gérard d58e83a985 Proposition 1. 14 years ago
Léonard Gérard 65c12884bd SConst -> Sconst 14 years ago
Cédric Pasteur 01d0cd02c3 Remove bounds hack in Eselect_dyn
We no longer need to store the bounds as the 
bounds check expression is generated from MiniLS
code where the type is directly available.
14 years ago
Cédric Pasteur b4419a6760 Better deal with memory less nodes
There are now 3 kinds of nodes: Eprim : primitive 
nodes, Enode: nodes with memory, Efun: nodes 
without memory.

Typing now sets correct eq_statefull and b_statefull
for equations and blocks. Resets are only added 
when a node with memory is called.

The calling convention is the generated code needs
to be modified so that we can remove the context 
for nodes without memory.
14 years ago
Adrien Guatto b4ddefa65c Tabs, trailing ws and long lines shall receive no mercy! 14 years ago
Léonard Gérard 60a3ad15f8 move to subfolder compiler. 14 years ago