-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJuliaSub.jl
43 lines (32 loc) · 933 Bytes
/
JuliaSub.jl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
module JuliaSub
#--------------------------------------------------
# Imports
#--------------------------------------------------
using MacroTools
using Multisets
using DataStructures
using Distributed
using DataFrames
using CSV
#--------------------------------------------------
# Files
#--------------------------------------------------
include("utils/lib.jl")
include("lb-analysis/lib.jl")
include("types-analysis/lib.jl")
#--------------------------------------------------
# Exports
#--------------------------------------------------
export collectAndSaveTypeInfo2CSV, analyzePkgTypesAndSave2CSV
export collectTyVarsSummary
#--------------------------------------------------
# Code
#--------------------------------------------------
VERBOSE = true
DEBUG = true
# print analysis info every this number of packages
const PKGS_NUM_STEP = 100
setVerbose(verbose :: Bool) = begin
global VERBOSE = verbose
end
end