Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alehander92/Airtight
/ functions
Functions
394 in github.com/alehander92/Airtight
⨍
Functions
394
◇
Types & classes
53
↓ 1 callers
Function
a_str_AList_int_AString
examples/template.py.c:244
↓ 1 callers
Function
a_str_AList_int_AString
examples/m.py.c:163
↓ 1 callers
Function
a_str_int_AString
core/string.c:37
↓ 1 callers
Function
a_sum_int_int
examples/sum.py.c:310
↓ 1 callers
Function
a_sum_while_int_int
examples/sum_while.py.c:310
↓ 1 callers
Function
add4
(value: Integer)
examples/add4.py:1
↓ 1 callers
Function
analyse
Computes the type of the expression given by node. The type of the node is computed in the context of the context of the supplied type enviro
airtight/hindley_milner_ast.py:329
↓ 1 callers
Method
convert_assign
var = 'a' ..context => Let('var' String('a'), context) var, z = 'a', 'b' ..c
airtight/converter.py:52
↓ 1 callers
Function
f_map
(f: y >> z, s: [y])
examples/m.py:2
↓ 1 callers
Function
freshrec
(tp)
airtight/hindley_milner_ast.py:528
↓ 1 callers
Method
generate
(self)
airtight/ll_ast.py:22
↓ 1 callers
Method
generate_lambda
(self, node)
airtight/ll_ast.py:59
↓ 1 callers
Function
isGeneric
Checks whether a given variable occurs in a list of non-generic variables Note that a variables in such a list may be instantiated to a type term
airtight/hindley_milner_ast.py:627
↓ 1 callers
Method
is_numeric_binop
(self, node)
airtight/ll_ast.py:127
↓ 1 callers
Method
load_registry
(self, met, actual_arg_types, actual_return_type)
airtight/c_generator.py:112
↓ 1 callers
Function
main
The main example program. Sets up some predefined types using the type constructors TypeVariable, TypeOperator and Function. Creates a list
airtight/hindley_milner_ast.py:715
↓ 1 callers
Method
node_dict
(self, node)
airtight/converter.py:42
↓ 1 callers
Method
register_apply
(self, node)
airtight/c_generator.py:155
↓ 1 callers
Method
register_func
(self, func)
airtight/c_generator.py:152
↓ 1 callers
Method
render_all
(self)
airtight/c_generator.py:139
↓ 1 callers
Method
render_c
(self)
airtight/c_generator.py:44
↓ 1 callers
Method
render_collections
(self)
airtight/c_generator.py:53
↓ 1 callers
Method
render_includes
(self)
airtight/c_generator.py:61
↓ 1 callers
Method
render_l
(self)
airtight/c_generator.py:56
↓ 1 callers
Method
render_number
(self)
airtight/c_generator.py:50
↓ 1 callers
Method
render_string
(self)
airtight/c_generator.py:47
↓ 1 callers
Method
render_value
(self, value, depth=0)
airtight/ll_ast.py:174
↓ 1 callers
Function
sum
sum of the numbers from 0 to n inclusively
examples/sum.py:1
↓ 1 callers
Function
sum_while
(n: Integer)
examples/sum_while.py:1
↓ 1 callers
Function
tryExp
Try to evaluate a type printing the result or reporting errors. Args: env: The type environment in which to evaluate the expression.
airtight/hindley_milner_ast.py:698
↓ 1 callers
Method
write_args
(self, args, depth=0)
airtight/c_generator.py:402
↓ 1 callers
Method
write_if
(self, node, depth=0, with_return=False)
airtight/c_generator.py:214
↓ 1 callers
Method
write_m_args
(self, args, a_type, depth=0)
airtight/c_generator.py:207
↓ 1 callers
Method
write_method
(self, method, depth=0)
airtight/c_generator.py:175
Function
AList_intOf
examples/sum_while.py.c:233
Function
AList_intOf
examples/sum.py.c:152
Function
AList_intOf
examples/add4.py.c:152
Function
AList_intOf
examples/template.py.c:233
Function
Letmany
(vs, defns, body)
airtight/hindley_milner_ast.py:146
Function
Multi_Apply
(ident, args)
airtight/hindley_milner_ast.py:278
Function
Multi_Lambda
(args, body, expected=None)
airtight/hindley_milner_ast.py:284
Method
__init__
(self, source)
airtight/ast_rewriter.py:32
Method
__init__
(self, ast)
airtight/c_generator.py:7
Method
__init__
(self, label)
airtight/c_generator.py:102
Method
__init__
(self, ast, c_generator)
airtight/c_generator.py:106
Method
__init__
(self)
airtight/converter.py:32
Method
__init__
(self, hm_ast)
airtight/ll_ast.py:19
Method
__init__
(self, **kwargs)
airtight/ll_ast.py:131
Method
__init__
(self, v, body, expected=None, return_expected=None)
airtight/hindley_milner_ast.py:34
Method
__init__
(self, body)
airtight/hindley_milner_ast.py:48
Method
__init__
(self, items)
airtight/hindley_milner_ast.py:57
Method
__init__
(self, iter, target, body)
airtight/hindley_milner_ast.py:74
Method
__init__
(self, test, body)
airtight/hindley_milner_ast.py:83
Method
__init__
(self, expression, other)
airtight/hindley_milner_ast.py:93
Method
__init__
(self, name)
airtight/hindley_milner_ast.py:105
Method
__init__
(self, name)
airtight/hindley_milner_ast.py:115
Method
__init__
(self, fn, arg)
airtight/hindley_milner_ast.py:127
Method
__init__
(self, v, defn, body)
airtight/hindley_milner_ast.py:138
Method
__init__
(self, v, defn, body)
airtight/hindley_milner_ast.py:155
Method
__init__
(self, message)
airtight/hindley_milner_ast.py:171
Method
__init__
(self, message)
airtight/hindley_milner_ast.py:182
Method
__init__
(self, message)
airtight/hindley_milner_ast.py:193
Method
__init__
(self)
airtight/hindley_milner_ast.py:215
Method
__init__
(self, name, types)
airtight/hindley_milner_ast.py:247
Method
__init__
(self, from_type, to_type)
airtight/hindley_milner_ast.py:268
Method
__init__
(self, *types)
airtight/hindley_milner_ast.py:272
Method
__init__
(self, element_type)
airtight/hindley_milner_ast.py:311
Method
__repr__
(self)
airtight/hindley_milner_ast.py:240
Method
__str__
(self)
airtight/ll_ast.py:136
Method
__str__
(self)
airtight/hindley_milner_ast.py:40
Method
__str__
(self)
airtight/hindley_milner_ast.py:51
Method
__str__
(self)
airtight/hindley_milner_ast.py:60
Method
__str__
(self)
airtight/hindley_milner_ast.py:70
Method
__str__
(self)
airtight/hindley_milner_ast.py:79
Method
__str__
(self)
airtight/hindley_milner_ast.py:87
Method
__str__
(self)
airtight/hindley_milner_ast.py:97
Method
__str__
(self)
airtight/hindley_milner_ast.py:108
Method
__str__
(self)
airtight/hindley_milner_ast.py:131
Method
__str__
(self)
airtight/hindley_milner_ast.py:143
Method
__str__
(self)
airtight/hindley_milner_ast.py:160
Method
__str__
(self)
airtight/hindley_milner_ast.py:176
Method
__str__
(self)
airtight/hindley_milner_ast.py:187
Method
__str__
(self)
airtight/hindley_milner_ast.py:198
Method
__str__
(self)
airtight/hindley_milner_ast.py:234
Method
__str__
(self)
airtight/hindley_milner_ast.py:251
Method
__str__
(self)
airtight/hindley_milner_ast.py:275
Method
__str__
(self)
airtight/hindley_milner_ast.py:314
Method
_getName
Names are allocated to TypeVariables lazily, so that only TypeVariables present
airtight/hindley_milner_ast.py:223
Function
_int
core/list.c:22
Method
_rewrite_arguments
(self, node)
airtight/ast_rewriter.py:54
Method
_rewrite_binop
rewrite a + b as __add__(a, b) etc
airtight/ast_rewriter.py:75
Method
_rewrite_classdef
rewrite compile-time decorators to annotations is_native
airtight/ast_rewriter.py:100
Method
_rewrite_compare
rewrite a == b as __eq__(a, b) etc
airtight/ast_rewriter.py:86
Method
_rewrite_functiondef
rewrite compile-time decorators to annotations native a_native, a flag specifying if the body should be visited or
airtight/ast_rewriter.py:118
Method
_rewrite_nameconstant
(self, node)
airtight/ast_rewriter.py:144
Method
_rewrite_unaryop
rewrite not var as __not__(var) etc
airtight/ast_rewriter.py:64
Method
_unique_type_var
(self)
airtight/converter.py:39
Function
a_a__lte___float_float_bool
core/number.c:26
Function
a_a__lte___float_float_bool
examples/sum_while.py.c:107
Function
a_a__lte___float_float_bool
examples/sum.py.c:107
← previous
next →
101–200 of 394, ranked by callers