ringabout dd2edf4562 allows foreign functions having forward decls hace 6 meses
..
ic 732f7752a9 remove nir; succeeded by nif (#23809) hace 7 meses
plugins 6c4c60eade Adds support for custom ASTs in the Nim parser (#23417) hace 10 meses
aliasanalysis.nim 93ced31353 use strictdefs for compiler (#22365) hace 1 año
aliases.nim 91ad6a740b type refactor: part 4 (#23077) hace 1 año
ast.nim ca7821bea3 fixes 23827; Cyclic proc calls causes infinite memory usage in VM hace 6 meses
astalgo.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) hace 10 meses
astmsgs.nim 20698b8057 fixes #23494; Wrong type in object construction error message (#23504) hace 9 meses
astyaml.nim fe18ec5dc0 types refactoring; WIP (#23086) hace 1 año
backendpragmas.nim 38f876dd48 fixes #19795; fixes #11852; fixes #19974; remove parsing pipeline, Nim now parses the whole module at one time (#21379) hace 1 año
bitsets.nim 816589b667 NIR: Nim intermediate representation (#22777) hace 1 año
btrees.nim 93ced31353 use strictdefs for compiler (#22365) hace 1 año
ccgcalls.nim e53a2ed19b fixes #20865; fixes #20987; Missing bounds check in array slicing (#23814) hace 7 meses
ccgexprs.nim e53a2ed19b fixes #20865; fixes #20987; Missing bounds check in array slicing (#23814) hace 7 meses
ccgliterals.nim de4b0346bd store full definition AST for consts, fix noRewrite (#20115) hace 2 años
ccgmerge_unused.nim a7133e0594 removed unused sections in codegen (#20976) hace 2 años
ccgreset.nim 473f259268 Fix reset code gen for range types (#22462, #23214) (#23215) hace 1 año
ccgstmts.nim 8cbbe12ee4 fixes #22398; [backport] (#23704) hace 7 meses
ccgthreadvars.nim ca1f3f36b9 no ropes WIP (#20433) hace 2 años
ccgtrav.nim 91ad6a740b type refactor: part 4 (#23077) hace 1 año
ccgtypes.nim 828cd58d8a fixes #9940; genericAssign does not take care of the importC variables in refc [backport] (#23761) hace 7 meses
ccgutils.nim 7039b8b5bc fixes #23354; [backport] (#23685) hace 8 meses
cgen.nim 56ed4e0bb9 fixes #23759; rework move for refc (#23764) hace 7 meses
cgendata.nim b387bc49b5 chore: fix some typos (#23412) hace 10 meses
cgmeth.nim aa30233ea7 fixes #23273; forbids methods having importc pragmas (#23324) hace 11 meses
closureiters.nim 05df263b84 Optimize closure iterator locals (#23787) hace 7 meses
cmdlinehelper.nim a24990bd8c fixes #23429; rework `--verbosity` with warnings/hints (#23441) hace 10 meses
commands.nim 732f7752a9 remove nir; succeeded by nif (#23809) hace 7 meses
compiler.nimble 2bb7277a61 Create compiler and nimsuggest packages (#22118) hace 1 año
concepts.nim b387bc49b5 chore: fix some typos (#23412) hace 10 meses
condsyms.nim 9d08d26e33 adds a define nimHasJsNoLambdaLifting so we can use it in the config for compatibility (#23736) hace 7 meses
debuginfo.nim 9c47bb9cc0 happy new year hace 8 años
debugutils.nim 6f4bacff67 Extend and document compiler debugging utilities (#19841) hace 2 años
depends.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) hace 1 año
dfa.nim 6cb2dca41d updated compiler DFA docs (#23527) hace 9 meses
docgen.nim c0acf3ce28 retain postfix node in type section typed AST, with docgen fix (#23101) hace 1 año
docgen2.nim 93ced31353 use strictdefs for compiler (#22365) hace 1 año
enumtostr.nim fe18ec5dc0 types refactoring; WIP (#23086) hace 1 año
errorhandling.nim 02be027e9b IC: progress and refactorings (#22961) hace 1 año
evalffi.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) hace 10 meses
evaltempl.nim 646bd99d46 [backport] fixes #23711; C code contains backtick`gensym (#23716) hace 7 meses
expanddefaults.nim 91ad6a740b type refactor: part 4 (#23077) hace 1 año
extccomp.nim 732f7752a9 remove nir; succeeded by nif (#23809) hace 7 meses
filter_tmpl.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) hace 1 año
filters.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) hace 1 año
gorgeimpl.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) hace 1 año
guards.nim cca5684a17 fixes yet another strictdefs bug (#23069) hace 1 año
hlo.nim 3b206ed988 Fix #22604: Make endsInNoReturn traverse the tree (#22612) hace 1 año
idents.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) hace 1 año
importer.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) hace 10 meses
index.nim 3cf88c2b49 walkDirRecFilter, update doc CI filter, compiler/index.nim for docs + various other fixes (#14501) hace 4 años
injectdestructors.nim fe3039410f fixes #23775; injectdestructors now handles discardable statements (#23780) hace 7 meses
installer.ini 77c04092e0 Add linux/loongarch64 support in 'compiler/installer.ini' (#23672) hace 8 meses
int128.nim cca5684a17 fixes yet another strictdefs bug (#23069) hace 1 año
isolation_check.nim 6ed33b6d61 type graph refactor; part 3 (#23064) hace 1 año
jsgen.nim 4867931af3 implement `legacy:jsNoLambdaLifting` for compatibility (#23727) hace 7 meses
jstypes.nim e51e98997b type refactoring: part 2 (#23059) hace 1 año
lambdalifting.nim 05df263b84 Optimize closure iterator locals (#23787) hace 7 meses
layouter.nim cd4ecddb30 nimpretty: check the rendered AST for wrong output (#23057) hace 1 año
lexer.nim cca5684a17 fixes yet another strictdefs bug (#23069) hace 1 año
liftdestructors.nim 262ff648aa [backport] fixes #23690; SIGSEGV with object variants and RTTI (#23703) hace 7 meses
liftlocals.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) hace 1 año
lineinfos.nim cb0ebecb20 #Fixes #23657 C++ compilation fails with: 'T1_' was not declared in t… (#23666) hace 8 meses
linter.nim 93ced31353 use strictdefs for compiler (#22365) hace 1 año
llstream.nim ec37b59a65 Add missing std prefix (#22910) hace 1 año
lookups.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) hace 10 meses
lowerings.nim e51e98997b type refactoring: part 2 (#23059) hace 1 año
macrocacheimpl.nim cf6dd57efe IC: next steps (#16632) hace 4 años
magicsys.nim db603237c6 Types: Refactorings; step 1 (#23055) hace 1 año
main.nim 732f7752a9 remove nir; succeeded by nif (#23809) hace 7 meses
mangleutils.nim fc48c7e615 apply the new mangle algorithm to JS backend for parameters and procs (#23476) hace 10 meses
modulegraphs.nim 732f7752a9 remove nir; succeeded by nif (#23809) hace 7 meses
modulepaths.nim 4eaa3b028c fixes #23167; take `nkOpenSymChoice` into consideration caused by templates [backport] (#23168) hace 1 año
modules.nim 519d976f62 compute checksum of nim files early in the pipelines (#23268) hace 1 año
msgs.nim 7e3bac9235 * fix for the debug line info code generation (#23488) hace 9 meses
ndi.nim 7f6e800caf move assertions out of system (#19599) hace 2 años
nilcheck.nim 9648d97a8d fixes #22637; now `--experimental:strictNotNil` can be enabled globally (#23079) hace 1 año
nim.cfg b5f5b74fc8 enable vtable implementation for C++ and make it an experimental feature (#23004) hace 1 año
nim.nim 732f7752a9 remove nir; succeeded by nif (#23809) hace 7 meses
nimblecmd.nim cca5684a17 fixes yet another strictdefs bug (#23069) hace 1 año
nimconf.nim cca5684a17 fixes yet another strictdefs bug (#23069) hace 1 año
nimeval.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) hace 10 meses
nimlexbase.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) hace 1 año
nimpaths.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) hace 1 año
nimsets.nim db603237c6 Types: Refactorings; step 1 (#23055) hace 1 año
nodejs.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) hace 1 año
nodekinds.nim 6c4c60eade Adds support for custom ASTs in the Nim parser (#23417) hace 10 meses
nversion.nim b0a98cc01e warn on set types bigger than max size, default to 0..255 for int literals (#21659) hace 1 año
optimizer.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) hace 10 meses
options.nim 732f7752a9 remove nir; succeeded by nif (#23809) hace 7 meses
packagehandling.nim 93ced31353 use strictdefs for compiler (#22365) hace 1 año
packages.nim 20b011de19 refactoring in preparation for better, simpler name mangling that wor… (#21667) hace 1 año
parampatterns.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) hace 1 año
parser.nim 6c4c60eade Adds support for custom ASTs in the Nim parser (#23417) hace 10 meses
passaux.nim b8dc58d884 test removing dollar for objects out of system (#20242) hace 2 años
passes.nim 02be027e9b IC: progress and refactorings (#22961) hace 1 año
pathutils.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) hace 1 año
patterns.nim fe18ec5dc0 types refactoring; WIP (#23086) hace 1 año
pipelines.nim 732f7752a9 remove nir; succeeded by nif (#23809) hace 7 meses
pipelineutils.nim d51a392149 replaces implicit passes array registed at runtime with explicit function calls; simplify compilation pipeline (#21444) hace 1 año
platform.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) hace 1 año
pluginsupport.nim a325692fb2 refactoring: fewer global variables hace 6 años
pragmas.nim ca7821bea3 fixes 23827; Cyclic proc calls causes infinite memory usage in VM hace 6 meses
prefixmatches.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) hace 1 año
procfind.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) hace 10 meses
readme.md 1ad618d96c clean up the documentation (#22196) hace 1 año
renderer.nim fc49c6e3ba fix spurious indent and newlines in rendering of nkRecList (#23121) hace 1 año
renderverbatim.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) hace 1 año
reorder.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) hace 10 meses
rodutils.nim b79b39128e NIR: C codegen additions (#22914) hace 1 año
ropes.nim 7be2e2bef5 replaces `doAssert false` with `raiseAssert` for unreachable branches, which works better with strictdefs (#22436) hace 1 año
saturate.nim 6a621b35e7 fix warnings for deprecated `low` and `high` (#15291) hace 4 años
scriptconfig.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) hace 1 año
sem.nim 646bd99d46 [backport] fixes #23711; C code contains backtick`gensym (#23716) hace 7 meses
semcall.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) hace 10 meses
semdata.nim 7657a637b8 refactoring: no inheritance for PType/PSym (#23403) hace 10 meses
semexprs.nim 948fc29bb2 adapt semOpAux to opt-in symchoices (#23750) hace 7 meses
semfields.nim cca5684a17 fixes yet another strictdefs bug (#23069) hace 1 año
semfold.nim 5c5e7a9b6e fixes #22389; fixes #19840; don't fold paths containing `addr` (#23807) hace 7 meses
semgnrc.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) hace 10 meses
seminst.nim 841d30a213 fixes #23790; roll back instCounter properly in case of exceptions (#23802) hace 7 meses
semmacrosanity.nim 91ad6a740b type refactor: part 4 (#23077) hace 1 año
semmagic.nim d837d32fd5 Skip tyAlias inside semTypeTraits in case a concept accidently emits one (#23640) hace 8 meses
semobjconstr.nim 20698b8057 fixes #23494; Wrong type in object construction error message (#23504) hace 9 meses
semparallel.nim cca5684a17 fixes yet another strictdefs bug (#23069) hace 1 año
sempass2.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) hace 10 meses
semstmts.nim 173b8a8c58 fixes #3011; handles meta fields defined in the ref object (#23818) hace 6 meses
semstrictfuncs.nim 3812d91390 alternative, much simpler algorithm for strict func checking (#21066) hace 2 años
semtempl.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) hace 10 meses
semtypes.nim 646bd99d46 [backport] fixes #23711; C code contains backtick`gensym (#23716) hace 7 meses
semtypinst.nim 7657a637b8 refactoring: no inheritance for PType/PSym (#23403) hace 10 meses
sighashes.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) hace 10 meses
sigmatch.nim 22ba5abd63 fixes 23823; array static overload - again (#23824) hace 6 meses
sinkparameter_inference.nim ca7821bea3 fixes 23827; Cyclic proc calls causes infinite memory usage in VM hace 6 meses
sizealignoffsetimpl.nim 6ed33b6d61 type graph refactor; part 3 (#23064) hace 1 año
sourcemap.nim b387bc49b5 chore: fix some typos (#23412) hace 10 meses
spawn.nim 08f1eac8ac fixes#23665; rework spawn with gcc 14 and fixes other tests (#23660) hace 8 meses
suggest.nim 1ad4e80060 fixes #22409; don't check style for enumFieldSymChoice in the function (#23580) hace 9 meses
suggestsymdb.nim 899ba01ccf + added nimsuggest support for exception inlay hints (#23202) hace 10 meses
syntaxes.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) hace 10 meses
tccgen.nim 7be2e2bef5 replaces `doAssert false` with `raiseAssert` for unreachable branches, which works better with strictdefs (#22436) hace 1 año
transf.nim 5c5e7a9b6e fixes #22389; fixes #19840; don't fold paths containing `addr` (#23807) hace 7 meses
trees.nim 39f2df1972 fixes #23295; don't expand constants for complex structures (#23297) hace 11 meses
treetab.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) hace 1 año
typeallowed.nim 185e06c923 fixes #23419; internal error with void in generic array instantiation (#23550) hace 9 meses
types.nim 27abcdd57f fixes #23755; array static inference during overload resolution (#23760) hace 7 meses
typesrenderer.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) hace 1 año
varpartitions.nim b2f79df81c fixes #22218; avoids cursor when copy is disabled (#23209) hace 1 año
vm.nim 24fbacc63f fixes an issue with string to 'var openArray' at compile-time; [backp… (#23363) hace 11 meses
vmconv.nim db603237c6 Types: Refactorings; step 1 (#23055) hace 1 año
vmdef.nim 942f846f04 fix getNullValue for cstring in VM, make other VM code aware of nil cstring (#22527) hace 1 año
vmdeps.nim 91ad6a740b type refactor: part 4 (#23077) hace 1 año
vmgen.nim dd2edf4562 allows foreign functions having forward decls hace 6 meses
vmhooks.nim 7be2e2bef5 replaces `doAssert false` with `raiseAssert` for unreachable branches, which works better with strictdefs (#22436) hace 1 año
vmmarshal.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) hace 10 meses
vmops.nim eb83d20d0d Add staticFileExists and staticDirExists (#22278) hace 1 año
vmprofiler.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) hace 1 año
vtables.nim fe18ec5dc0 types refactoring; WIP (#23086) hace 1 año
wordrecg.nim 1324d2e04c Asm syntax pragma (#23119) hace 1 año

readme.md

Nim Compiler

  • This directory contains the Nim compiler written in Nim.
  • Note that this code has been translated from a bootstrapping version written in Pascal.
  • So the code is not a poster child of good Nim code.

See Internals of the Nim Compiler for more information.