ringabout 3c4246dd24 fixes #23114; Nim v2 regression emit / asm var param dereference inconsistency (#24547) il y a 1 mois
..
ic 68b2e9eb6a make `PNode.typ` a private field (#24326) il y a 3 mois
plugins 6c4c60eade Adds support for custom ASTs in the Nim parser (#23417) il y a 10 mois
aliasanalysis.nim 93ced31353 use strictdefs for compiler (#22365) il y a 1 an
aliases.nim 91ad6a740b type refactor: part 4 (#23077) il y a 1 an
ast.nim e28d2f42e9 include new concepts in typeclasses, makes containsGenericType work (#24453) il y a 2 mois
astalgo.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) il y a 9 mois
astmsgs.nim 20698b8057 fixes #23494; Wrong type in object construction error message (#23504) il y a 9 mois
astyaml.nim 6d7ab08dee refactor: The popular 'r' field is now named 'snippet' (#23829) il y a 6 mois
bitsets.nim 816589b667 NIR: Nim intermediate representation (#22777) il y a 1 an
btrees.nim 93ced31353 use strictdefs for compiler (#22365) il y a 1 an
cbuilderbase.nim d8391a5c49 fixes nightlies failures (#24456) il y a 2 mois
cbuilderdecls.nim b7b1003e6a fix #pragma pack generation regression in packed case objects (#24461) il y a 2 mois
cbuilderexprs.nim 712f5be7eb cbuilder: use constants for type names, some cleanups (#24438) il y a 2 mois
cbuilderstmts.nim 712f5be7eb cbuilder: use constants for type names, some cleanups (#24438) il y a 2 mois
ccgcalls.nim f7a461a30c fixes #22101; std/pegs with nim cpp --mm:orc --exceptions:goto creates invalid C++ (#24531) il y a 1 mois
ccgexprs.nim d5c7abe3d2 fixes #17681; enforce codegen for exportc consts (#24546) il y a 1 mois
ccgliterals.nim 712f5be7eb cbuilder: use constants for type names, some cleanups (#24438) il y a 2 mois
ccgmerge_unused.nim a7133e0594 removed unused sections in codegen (#20976) il y a 2 ans
ccgreset.nim 712f5be7eb cbuilder: use constants for type names, some cleanups (#24438) il y a 2 mois
ccgstmts.nim 712f5be7eb cbuilder: use constants for type names, some cleanups (#24438) il y a 2 mois
ccgthreadvars.nim 712f5be7eb cbuilder: use constants for type names, some cleanups (#24438) il y a 2 mois
ccgtrav.nim 712f5be7eb cbuilder: use constants for type names, some cleanups (#24438) il y a 2 mois
ccgtypes.nim 712f5be7eb cbuilder: use constants for type names, some cleanups (#24438) il y a 2 mois
ccgutils.nim 7039b8b5bc fixes #23354; [backport] (#23685) il y a 7 mois
cgen.nim 3bee04d9f3 prefix `NimDestroyGlobals` with `nimMainPrefix` (#24493) il y a 1 mois
cgendata.nim 726195d784 cbuilder: second half of cgen (#24432) il y a 2 mois
cgmeth.nim 68b2e9eb6a make `PNode.typ` a private field (#24326) il y a 3 mois
closureiters.nim 68b2e9eb6a make `PNode.typ` a private field (#24326) il y a 3 mois
cmdlinehelper.nim a24990bd8c fixes #23429; rework `--verbosity` with warnings/hints (#23441) il y a 10 mois
commands.nim 81d8c0fc17 fixes #20908; Unknown warnings and hints now give a warning (#24543) il y a 1 mois
compiler.nimble 2bb7277a61 Create compiler and nimsuggest packages (#22118) il y a 1 an
concepts.nim e0197a8380 couple cases of valid concept bindings (#24513) il y a 1 mois
condsyms.nim 2df633180a enable `experimental:strictDefs` (#24225) il y a 2 mois
debuginfo.nim 9c47bb9cc0 happy new year il y a 8 ans
debugutils.nim 6f4bacff67 Extend and document compiler debugging utilities (#19841) il y a 2 ans
depends.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) il y a 1 an
dfa.nim 6cb2dca41d updated compiler DFA docs (#23527) il y a 9 mois
docgen.nim 93c24fe1c5 Fix quoted idents in ctags (#24317) il y a 3 mois
docgen2.nim 93ced31353 use strictdefs for compiler (#22365) il y a 1 an
enumtostr.nim fe18ec5dc0 types refactoring; WIP (#23086) il y a 1 an
errorhandling.nim 02be027e9b IC: progress and refactorings (#22961) il y a 1 an
evalffi.nim 68b2e9eb6a make `PNode.typ` a private field (#24326) il y a 3 mois
evaltempl.nim 68b2e9eb6a make `PNode.typ` a private field (#24326) il y a 3 mois
expanddefaults.nim d3af51e3ce remove fauxMatch for tyFromExpr, remove tyProxy and tyUnknown aliases (#24018) il y a 5 mois
extccomp.nim 449106a5a4 use /link before each library linker option on MSVC (#24291) il y a 3 mois
filter_tmpl.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) il y a 1 an
filters.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) il y a 1 an
gorgeimpl.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) il y a 1 an
guards.nim 68b2e9eb6a make `PNode.typ` a private field (#24326) il y a 3 mois
hlo.nim 3b206ed988 Fix #22604: Make endsInNoReturn traverse the tree (#22612) il y a 1 an
idents.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) il y a 1 an
importer.nim 986ca7dcd4 check if unused import warning is enabled before adding import to stack (#24554) il y a 1 mois
index.nim 3cf88c2b49 walkDirRecFilter, update doc CI filter, compiler/index.nim for docs + various other fixes (#14501) il y a 4 ans
injectdestructors.nim d0288d3b57 fixes #24504; fixes `ensureMove` for refs (#24505) il y a 1 mois
installer.ini 77c04092e0 Add linux/loongarch64 support in 'compiler/installer.ini' (#23672) il y a 7 mois
int128.nim cca5684a17 fixes yet another strictdefs bug (#23069) il y a 1 an
isolation_check.nim 6ed33b6d61 type graph refactor; part 3 (#23064) il y a 1 an
jsgen.nim aa90d00caf fixes #18081; fixes #18079; fixes #18080; nested ref/deref'd types (#24335) il y a 3 mois
jstypes.nim e51e98997b type refactoring: part 2 (#23059) il y a 1 an
lambdalifting.nim 68b2e9eb6a make `PNode.typ` a private field (#24326) il y a 3 mois
layeredtable.nim cad8726907 refactor to make sigmatch use LayeredIdTable for bindings (#24216) il y a 3 mois
layouter.nim cd4ecddb30 nimpretty: check the rendered AST for wrong output (#23057) il y a 1 an
lexer.nim cca5684a17 fixes yet another strictdefs bug (#23069) il y a 1 an
liftdestructors.nim 05c74d6844 always reinstantiate nominal values of generic instantiations (#24425) il y a 2 mois
liftlocals.nim 68b2e9eb6a make `PNode.typ` a private field (#24326) il y a 3 mois
lineinfos.nim 81d8c0fc17 fixes #20908; Unknown warnings and hints now give a warning (#24543) il y a 1 mois
linter.nim aaf6c408c6 make linter use lineinfo to check originating package (#24270) il y a 3 mois
llstream.nim 2f5cfd6829 fixes nim secret not flushing stdout (#23862) il y a 6 mois
lookups.nim 69e0cdb6c0 Fix line info for import (#24523) il y a 1 mois
lowerings.nim 68b2e9eb6a make `PNode.typ` a private field (#24326) il y a 3 mois
macrocacheimpl.nim cf6dd57efe IC: next steps (#16632) il y a 4 ans
magicsys.nim 68b2e9eb6a make `PNode.typ` a private field (#24326) il y a 3 mois
main.nim 732f7752a9 remove nir; succeeded by nif (#23809) il y a 6 mois
mangleutils.nim fc48c7e615 apply the new mangle algorithm to JS backend for parameters and procs (#23476) il y a 9 mois
modulegraphs.nim 25c068c070 modulegraphs: added a flag useful for gear2 (#24293) il y a 3 mois
modulepaths.nim 4eaa3b028c fixes #23167; take `nkOpenSymChoice` into consideration caused by templates [backport] (#23168) il y a 1 an
modules.nim d0b6b9346e adds a getter/setter for `owner` (#24318) il y a 3 mois
msgs.nim 651fdbe586 Fixes #23624 "nim check crash" (#23625) il y a 4 mois
nilcheck.nim 68b2e9eb6a make `PNode.typ` a private field (#24326) il y a 3 mois
nim.cfg 3c4246dd24 fixes #23114; Nim v2 regression emit / asm var param dereference inconsistency (#24547) il y a 1 mois
nim.nim 494c24a7ce fixes #23848; The comand `nim gendepend` defaults to ORC (#23851) il y a 6 mois
nimblecmd.nim cca5684a17 fixes yet another strictdefs bug (#23069) il y a 1 an
nimconf.nim cca5684a17 fixes yet another strictdefs bug (#23069) il y a 1 an
nimeval.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) il y a 9 mois
nimlexbase.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) il y a 1 an
nimpaths.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) il y a 1 an
nimsets.nim 68b2e9eb6a make `PNode.typ` a private field (#24326) il y a 3 mois
nodejs.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) il y a 1 an
nodekinds.nim 0c890ff9a7 opensym as node kind + fixed experimental switch (#23892) il y a 5 mois
nversion.nim b0a98cc01e warn on set types bigger than max size, default to 0..255 for int literals (#21659) il y a 1 an
optimizer.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) il y a 9 mois
options.nim 6f4106bf5d track call depth separately from loop count in VM (#24512) il y a 1 mois
packagehandling.nim 93ced31353 use strictdefs for compiler (#22365) il y a 1 an
packages.nim aaf6c408c6 make linter use lineinfo to check originating package (#24270) il y a 3 mois
parampatterns.nim 538603e01d allow conversions between `var` types of range types and base types (#24037) il y a 4 mois
parser.nim 00ac961ab1 require `not nil` to be on the same line after a type (#24134) il y a 4 mois
passaux.nim b8dc58d884 test removing dollar for objects out of system (#20242) il y a 2 ans
passes.nim 3fc87259bd improve passes.nim (#24376) il y a 3 mois
pathutils.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) il y a 1 an
patterns.nim fe18ec5dc0 types refactoring; WIP (#23086) il y a 1 an
pipelines.nim 7f2e6a1359 exports more helpers that are needed by nif-gear2 (#24247) il y a 3 mois
pipelineutils.nim d51a392149 replaces implicit passes array registed at runtime with explicit function calls; simplify compilation pipeline (#21444) il y a 1 an
platform.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) il y a 1 an
pluginsupport.nim a325692fb2 refactoring: fewer global variables il y a 6 ans
pragmas.nim 3c4246dd24 fixes #23114; Nim v2 regression emit / asm var param dereference inconsistency (#24547) il y a 1 mois
prefixmatches.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) il y a 1 an
procfind.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) il y a 9 mois
pushpoppragmas.nim 4bf323d6c4 fixes push warnings for sempass2 (#23603) il y a 4 mois
readme.md 1ad618d96c clean up the documentation (#22196) il y a 1 an
renderer.nim 8b39b2df7d fixes #24258; compiler crash on `len` of `varargs[untyped]` (#24307) il y a 3 mois
renderverbatim.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) il y a 1 an
reorder.nim c10f84b9d7 fixes #24053; fixes #18288; relax reorder with push/pop pragmas restrictions; no crossing push/pop barriers (#24061) il y a 4 mois
rodutils.nim b79b39128e NIR: C codegen additions (#22914) il y a 1 an
ropes.nim 7be2e2bef5 replaces `doAssert false` with `raiseAssert` for unreachable branches, which works better with strictdefs (#22436) il y a 1 an
saturate.nim 6a621b35e7 fix warnings for deprecated `low` and `high` (#15291) il y a 4 ans
scriptconfig.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) il y a 1 an
sem.nim f80ce139d5 Make `expandMacro` show private fields (#24522) il y a 1 mois
semcall.nim e479151473 Fixes 3 small issues with concepts (#24481) il y a 2 mois
semdata.nim 4091576ab7 implement generic default values for object fields (#24384) il y a 3 mois
semexprs.nim 2529f33760 remove inserted derefs for ref object fields when transforming to dot call (#24498) il y a 1 mois
semfields.nim ca5df9ab25 wrap `fields` iterations in `if true` scope [backport] (#24343) il y a 3 mois
semfold.nim b9c593404c proper error for const defines with unsupported types (#24540) il y a 1 mois
semgnrc.nim e479151473 Fixes 3 small issues with concepts (#24481) il y a 2 mois
seminst.nim 68b2e9eb6a make `PNode.typ` a private field (#24326) il y a 3 mois
semmacrosanity.nim 75b512bc6a prevent codegen of inactive case fields in VM object constructor nodes (#24442) il y a 2 mois
semmagic.nim 2af602a5c8 deprecate `NewFinalize` with the ref T finalizer (#24354) il y a 3 mois
semobjconstr.nim 6bc52737b3 Make 'field is not accessible' and 'field initialized twice' errors point to the field inside the obj construction (#24557) il y a 1 mois
semparallel.nim 68b2e9eb6a make `PNode.typ` a private field (#24326) il y a 3 mois
sempass2.nim d2d810585c fixes strictdefs warnings continue (#24520) il y a 1 mois
semstmts.nim b9c593404c proper error for const defines with unsupported types (#24540) il y a 1 mois
semstrictfuncs.nim 3812d91390 alternative, much simpler algorithm for strict func checking (#21066) il y a 2 ans
semtempl.nim 68b2e9eb6a make `PNode.typ` a private field (#24326) il y a 3 mois
semtypes.nim 05bba15623 fix crash with undeclared proc type pragma macro in generics (#24490) il y a 1 mois
semtypinst.nim 05c74d6844 always reinstantiate nominal values of generic instantiations (#24425) il y a 2 mois
sighashes.nim d43a5954c5 remove nontoplevel type hack + consider symbol disamb in type hash (#23969) il y a 5 mois
sigmatch.nim e0197a8380 couple cases of valid concept bindings (#24513) il y a 1 mois
sinkparameter_inference.nim 02be027e9b IC: progress and refactorings (#22961) il y a 1 an
sizealignoffsetimpl.nim 68b2e9eb6a make `PNode.typ` a private field (#24326) il y a 3 mois
sourcemap.nim b387bc49b5 chore: fix some typos (#23412) il y a 10 mois
spawn.nim 68b2e9eb6a make `PNode.typ` a private field (#24326) il y a 3 mois
suggest.nim 1ad4e80060 fixes #22409; don't check style for enumFieldSymChoice in the function (#23580) il y a 8 mois
suggestsymdb.nim 899ba01ccf + added nimsuggest support for exception inlay hints (#23202) il y a 10 mois
syntaxes.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) il y a 9 mois
tccgen.nim 7be2e2bef5 replaces `doAssert false` with `raiseAssert` for unreachable branches, which works better with strictdefs (#22436) il y a 1 an
transf.nim 21420d8b09 fixes #24402; Memory leak under Arc/Orc on inline iterators with nested seq (#24419) il y a 2 mois
trees.nim 911cef1621 process non-language pragma nodes in templates (#24183) il y a 3 mois
treetab.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) il y a 1 an
typeallowed.nim e28d2f42e9 include new concepts in typeclasses, makes containsGenericType work (#24453) il y a 2 mois
types.nim e0197a8380 couple cases of valid concept bindings (#24513) il y a 1 mois
typesrenderer.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) il y a 1 an
varpartitions.nim 26107e931c fixes #23973; fixes #23974; Memory corruption with lent and ORC (#23981) il y a 5 mois
vm.nim 6f4106bf5d track call depth separately from loop count in VM (#24512) il y a 1 mois
vmconv.nim db603237c6 Types: Refactorings; step 1 (#23055) il y a 1 an
vmdef.nim 6f4106bf5d track call depth separately from loop count in VM (#24512) il y a 1 mois
vmdeps.nim 68b2e9eb6a make `PNode.typ` a private field (#24326) il y a 3 mois
vmgen.nim efd603eb28 don't cascade vmgen errors in nim check without error outputs (#24365) il y a 3 mois
vmhooks.nim 7be2e2bef5 replaces `doAssert false` with `raiseAssert` for unreachable branches, which works better with strictdefs (#22436) il y a 1 an
vmmarshal.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) il y a 9 mois
vmops.nim b9b24e192a fixes #23932; vmopsDanger for os.getCurrentDir errors (#23934) il y a 5 mois
vmprofiler.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) il y a 1 an
vtables.nim 5340005869 fixes #24476; remove proc type cast if they are same types for backends (#24480) il y a 2 mois
wordrecg.nim 1324d2e04c Asm syntax pragma (#23119) il y a 1 an

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.