summary refs log tree commit diff stats
path: root/compiler/sempass2.nim
Commit message (Collapse)AuthorAgeFilesLines
* gc:destructors progressAndreas Rumpf2019-09-161-0/+1
|
* Small ast.nim cleanup (#12156)Clyybber2019-09-091-3/+3
| | | | | * Remove sonsLen * Use Indexable
* fixes #11254Araq2019-08-121-1/+9
|
* revert changesAndrii Riabushenko2019-07-251-15/+15
|
* fixes #11826Andrii Riabushenko2019-07-251-15/+15
|
* [refactoring] remove unused imports in the compiler and in some stdlib modulesAraq2019-07-181-1/+1
|
* styleCheck: make the compiler and large parts of the stdlib compatible with ↵Araq2019-07-101-7/+7
| | | | --styleCheck:error
* fixes #11628Araq2019-07-011-0/+1
|
* [refactoring] liftdestructors.nim is callable from lambdalifting; refs #11217Araq2019-06-121-8/+8
|
* [refactoring] liftdestructors is now a module of its ownAraq2019-06-121-1/+1
|
* fixes #8053Araq2019-05-151-1/+2
|
* Replace countup(x, y) with x .. yClyybber2019-05-071-1/+1
|
* Replace countup(x, y-1) with x ..< yClyybber2019-05-071-1/+1
|
* introduce temporary <//> for 'owned' to get this compile with 0.19 (#11145)Andreas Rumpf2019-05-021-1/+1
| | | | | | | | * introduce temporary <//> for 'owned' to get this compile with 0.19 * make newTable[string, owned Node]() compile (but it crashes) * make sink/owned parameters consistent * make actiontable test compile again * VM: support sytem.move; makes tests green
* Fixes #11078 (#11079)Jasper Jenkins2019-04-231-1/+1
| | | | | | * Fixes #11078 * Move to existing runnableExamples, update the expected html. * Remove second comment token.
* make the CIs happyAraq2019-04-171-1/+1
|
* fixes #11050Araq2019-04-171-6/+12
|
* make tests green againAraq2019-04-101-1/+1
|
* koch.nim compiles with --newruntimeAraq2019-04-091-2/+2
|
* more efficient enumToStr implementation that works without the old typeinfo ↵Andreas Rumpf2019-04-071-3/+3
| | | | structures
* destructors: progressAndreas Rumpf2019-04-051-1/+10
|
* fixes destructor tuple regression #10940 (#10941)cooldome2019-04-041-1/+6
| | | | | | | | * fixes #10940 * bug fixes * fix spacing
* newruntime: progressAraq2019-04-011-1/+1
|
* fixes #10904Araq2019-03-261-3/+6
|
* more destructor based changes (#10885)Andreas Rumpf2019-03-231-81/+41
| | | | | | | | | | | * mark user defined destructors with sfOverriden to simplify the logic * refactoring in preparation to merge liftings and generic instantiations for destructors * ast: introduce nkHiddenTryStmt for destructor generation in order to be able to optimize better the code later on * renamed 'patterns' switch to 'trmacros' as it was totally misleading before * destructors: introduce tfCheckedForDestructor flag in preparation of strict =destroy checking * test for invalid/too late destructor introductions * liftdestructors: make code robust for nimsuggest * --newruntime works for hello world again * newruntime: code generation for closures
* fixes #10807 (#10814)cooldome2019-03-121-1/+1
| | | | | * fixes #10807 * use nkAddr instead of nkHiddenAddr
* make tests green againAndreas Rumpf2019-03-061-1/+2
|
* fixes a critical GC safety inference bug (#10615)Andreas Rumpf2019-03-051-9/+13
| | | | | | * fixes a critical GC safety inference bug * make nimsuggest compile again * make Nimble compile again
* fixes #6955Andreas Rumpf2019-02-131-3/+7
|
* Fix handling of reraise in effect tracking (#10582)LemonBoy2019-02-071-5/+11
| | | | | | This is the MVP in order not to get a completely useless error message from the compiler. Fixes #10579
* Do not raise ProveInit/WanrUninit for .noinit. var (#10566)LemonBoy2019-02-061-1/+4
|
* Fix exception tracking in try blocks (#10455)LemonBoy2019-01-271-1/+9
| | | | | | Exceptions raised inside a nkFinally/nkExcept block are not caught by the block itself. Fixes #3886
* control flow graphs: introduce 'join' points for easy analyses based on ↵Andreas Rumpf2019-01-231-1/+1
| | | | abstract interpretation
* new minor language feature: .noSideEffect blocks like .gcsafe blocksAndreas Rumpf2018-11-271-2/+8
|
* make Nim take roughly 100MB less RAM for bootstrapping via a new compiler ↵Andreas Rumpf2018-11-071-2/+5
| | | | switch -d:leanCompiler; useful for the Raberry PI
* Change the order of compilation passes, transformation is made lazy at code ↵cooldome2018-10-181-4/+12
| | | | | | | | | | | | | | | gen (#8489) * Ast no transformation * Add getImplNoTransform to the macros module * progress on delaying transf * Fix methods tranformation * Fix lazy lambdalifting * fix create thread wrapper * transform for lambda lifting * improve getImplTransformed * Fix destructor tests * try to fix nimprof for linux
* even more strict isNil handling for strings/seqs in order to detect bugsAraq2018-08-221-2/+2
|
* Extend init variable tracking to tuple assignments (#8321)LemonBoy2018-07-171-0/+9
| | | Fixes #8314
* Custom pragmas in proc types (#8205)cooldome2018-07-091-10/+14
|
* refactoring: remove idents.legacy global variable and pass the IdentCache ↵Andreas Rumpf2018-05-271-14/+14
| | | | around explicitly
* remove more global variables in the Nim compilerAndreas Rumpf2018-05-271-3/+3
|
* remove ast.emptyNode global; cleanup configuration.nimAraq2018-05-161-2/+2
|
* make tests green againAraq2018-05-141-1/+1
|
* options.nim: no global variables anymoreAndreas Rumpf2018-05-131-5/+5
|
* sempass2 compiles againAndreas Rumpf2018-05-111-78/+82
|
* guards.nim does compileAndreas Rumpf2018-05-111-24/+23
|
* Cpp codegen: handling of imported exceptions. Fixes #3571 (#7360)cooldome2018-04-101-3/+6
|
* Small performance improvement in sempass2 (#7168)cooldome2018-02-011-11/+8
|
* Fixes #7140 (#7154)Yuriy Glukhov2018-01-301-1/+1
|
* next steps in giving Nim a decent DFA infrastructureAraq2017-12-181-3/+3
|
n960' href='#n960'>960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213