PIPS
bootstrap-local.h
Go to the documentation of this file.
1 /*
2 
3  $Id: bootstrap-local.h 23065 2016-03-02 09:05:50Z coelho $
4 
5  Copyright 1989-2016 MINES ParisTech
6 
7  This file is part of PIPS.
8 
9  PIPS is free software: you can redistribute it and/or modify it
10  under the terms of the GNU General Public License as published by
11  the Free Software Foundation, either version 3 of the License, or
12  any later version.
13 
14  PIPS is distributed in the hope that it will be useful, but WITHOUT ANY
15  WARRANTY; without even the implied warranty of MERCHANTABILITY or
16  FITNESS FOR A PARTICULAR PURPOSE.
17 
18  See the GNU General Public License for more details.
19 
20  You should have received a copy of the GNU General Public License
21  along with PIPS. If not, see <http://www.gnu.org/licenses/>.
22 
23 */
24 
25 /* should be some properties to accomodate cray codes?? */
26 #define INT_LENGTH 4
27 #define REAL_LENGTH 4
28 #define DOUBLE_LENGTH 8
29 #define COMPLEX_LENGTH 8
30 #define DCOMPLEX_LENGTH 16
31 
32 /* context for type checking. */
33 typedef struct
34 {
41 
43 
45 
46 /* The following data structure describes an intrinsic function: its
47  name and its arity and its type, a function to type it (?) and a
48  function to obtain its name if it is different from the entity user
49  name, e.g. because of special characters or name collisions. */
50 
51 typedef struct IntrinsicDescriptor
52 {
53  string name;
54  int nbargs;
struct _newgen_struct_expression_ * expression
Definition: alias_private.h:21
void const char const char const int
struct IntrinsicDescriptor IntrinsicDescriptor
The following data structure describes an intrinsic function: its name and its arity and its type,...
struct type_context_t * type_context_p
basic(* typing_function_t)(call, type_context_p)
void(* switch_name_function)(expression, type_context_p)
struct _newgen_struct_type_ * type
struct _newgen_struct_call_ * call
Definition: ri.h:63
struct _newgen_struct_basic_ * basic
Definition: ri.h:47
The following data structure describes an intrinsic function: its name and its arity and its type,...
type(* intrinsic_type)(int)
switch_name_function name_function
typing_function_t type_function
the stack head
Definition: stack.c:62
context for type checking.
hash_table types