narimiran f7145dd26e Revert "leave type section symbols unchanged on resem, fix overly general double semcheck for forward types (#24888)" 1 week ago
..
ic b3e02ef0c3 make `PNode.typ` a private field (#24326) 3 months ago
plugins 6c4c60eade Adds support for custom ASTs in the Nim parser (#23417) 1 year ago
aliasanalysis.nim 93ced31353 use strictdefs for compiler (#22365) 1 year ago
aliases.nim 91ad6a740b type refactor: part 4 (#23077) 1 year ago
ast.nim 20ff258a08 clean up opensym encounters in compiler (#24866) 2 weeks ago
astalgo.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 1 year ago
astmsgs.nim 20698b8057 fixes #23494; Wrong type in object construction error message (#23504) 1 year ago
astyaml.nim 6d7ab08dee refactor: The popular 'r' field is now named 'snippet' (#23829) 9 months ago
bitsets.nim 816589b667 NIR: Nim intermediate representation (#22777) 1 year ago
btrees.nim 93ced31353 use strictdefs for compiler (#22365) 1 year ago
cbuilder.nim 2cdc0e913f use cbuilder for tuple/object generation (#24145) 7 months ago
ccgcalls.nim 01389b5eb9 `conv` needs to be picky about aliases and introduces a temp for `addr conv` (#24818) 4 weeks ago
ccgexprs.nim 01389b5eb9 `conv` needs to be picky about aliases and introduces a temp for `addr conv` (#24818) 4 weeks ago
ccgliterals.nim de4b0346bd store full definition AST for consts, fix noRewrite (#20115) 2 years ago
ccgmerge_unused.nim a7133e0594 removed unused sections in codegen (#20976) 2 years ago
ccgreset.nim d3af51e3ce remove fauxMatch for tyFromExpr, remove tyProxy and tyUnknown aliases (#24018) 8 months ago
ccgstmts.nim 9f4fe7fd7a fixes #24770; Thread local not registed as GC root when =destroy exists (#24776) 1 month ago
ccgthreadvars.nim 6d7ab08dee refactor: The popular 'r' field is now named 'snippet' (#23829) 9 months ago
ccgtrav.nim 6d7ab08dee refactor: The popular 'r' field is now named 'snippet' (#23829) 9 months ago
ccgtypes.nim beb54a5a75 consider proc return type as weak reference in codegen (#24894) 1 week ago
ccgutils.nim faa4042e26 Revert "implements internal sink copy (#24747)" 1 month ago
cgen.nim bfd25121f9 Revert "fixes move for `getPotentialWrites` (#24753)" 1 month ago
cgendata.nim 5e22d8bc3c fixes #24395; remove ndi (#24396) 3 months ago
cgmeth.nim b3e02ef0c3 make `PNode.typ` a private field (#24326) 3 months ago
closureiters.nim a8d87c041c don't traverse inner procs to lift locals in closure iters (#24876) 2 weeks ago
cmdlinehelper.nim a24990bd8c fixes #23429; rework `--verbosity` with warnings/hints (#23441) 1 year ago
commands.nim ec1d68fc64 Allow specifiying path to use for stdin error messages (#24595) 2 weeks ago
compiler.nimble 2bb7277a61 Create compiler and nimsuggest packages (#22118) 1 year ago
concepts.nim ee44fe197b new-style concept bugfix (#24858) 2 weeks ago
condsyms.nim 5aeabdac8f symmetric difference operation for sets via `xor` (#24286) 3 months ago
debuginfo.nim 9c47bb9cc0 happy new year 8 years ago
debugutils.nim 6f4bacff67 Extend and document compiler debugging utilities (#19841) 2 years ago
depends.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 1 year ago
dfa.nim a2a6565e23 fixes `lastRead` uses the `when nimvm` branch (#24834) 4 weeks ago
docgen.nim b5ee86b43f fix(docgen): export for imported symbols missing; closes #24890 (#24891) 1 week ago
docgen2.nim 93ced31353 use strictdefs for compiler (#22365) 1 year ago
enumtostr.nim 545058a4ea account for invalid data in enum `$` on arc/orc (#24886) 1 week ago
errorhandling.nim 02be027e9b IC: progress and refactorings (#22961) 1 year ago
evalffi.nim b3e02ef0c3 make `PNode.typ` a private field (#24326) 3 months ago
evaltempl.nim b3e02ef0c3 make `PNode.typ` a private field (#24326) 3 months ago
expanddefaults.nim d3af51e3ce remove fauxMatch for tyFromExpr, remove tyProxy and tyUnknown aliases (#24018) 8 months ago
extccomp.nim 6032a14f26 fixes #10625; setjmp on linux mangles ebp leading to early collection (#24787) 1 month ago
filter_tmpl.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 1 year ago
filters.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 1 year ago
gorgeimpl.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 1 year ago
guards.nim b3e02ef0c3 make `PNode.typ` a private field (#24326) 3 months ago
hlo.nim 3b206ed988 Fix #22604: Make endsInNoReturn traverse the tree (#22612) 1 year ago
idents.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 1 year ago
importer.nim 6deb3a90ae check if unused import warning is enabled before adding import to stack (#24554) 3 months ago
index.nim 3cf88c2b49 walkDirRecFilter, update doc CI filter, compiler/index.nim for docs + various other fixes (#14501) 4 years ago
injectdestructors.nim e7244c0d28 remove wrong import 2 weeks ago
installer.ini 77c04092e0 Add linux/loongarch64 support in 'compiler/installer.ini' (#23672) 11 months ago
int128.nim cca5684a17 fixes yet another strictdefs bug (#23069) 1 year ago
isolation_check.nim a83c535ed4 docs: fix typos (#24573) 3 months ago
jsgen.nim 98403a06e7 fixes #18081; fixes #18079; fixes #18080; nested ref/deref'd types (#24335) 3 months ago
jstypes.nim e51e98997b type refactoring: part 2 (#23059) 1 year ago
lambdalifting.nim a8d87c041c don't traverse inner procs to lift locals in closure iters (#24876) 2 weeks ago
layeredtable.nim 82974d91ce new-style concepts adjusments (#24697) 1 month ago
layouter.nim cd4ecddb30 nimpretty: check the rendered AST for wrong output (#23057) 1 year ago
lexer.nim cca5684a17 fixes yet another strictdefs bug (#23069) 1 year ago
liftdestructors.nim 397eb361e9 fixes #24879; Data getting wiped on copy with iterators and =copy on refc (#24880) 1 week ago
liftlocals.nim b3e02ef0c3 make `PNode.typ` a private field (#24326) 3 months ago
lineinfos.nim ee1ecbd51e give hint for forward declarations with unknown raises effects (#24767) 1 month ago
linter.nim fa1819eb2d make linter use lineinfo to check originating package (#24270) 3 months ago
llstream.nim 3a9920d8fd repl: support eof, define object with fields (#24784) 1 month ago
lookups.nim 20ff258a08 clean up opensym encounters in compiler (#24866) 2 weeks ago
lowerings.nim b3e02ef0c3 make `PNode.typ` a private field (#24326) 3 months ago
macrocacheimpl.nim cf6dd57efe IC: next steps (#16632) 4 years ago
magicsys.nim b3e02ef0c3 make `PNode.typ` a private field (#24326) 3 months ago
main.nim 732f7752a9 remove nir; succeeded by nif (#23809) 9 months ago
mangleutils.nim fc48c7e615 apply the new mangle algorithm to JS backend for parameters and procs (#23476) 1 year ago
modulegraphs.nim d357a2e9a5 modulegraphs: added a flag useful for gear2 (#24293) 3 months ago
modulepaths.nim 4eaa3b028c fixes #23167; take `nkOpenSymChoice` into consideration caused by templates [backport] (#23168) 1 year ago
modules.nim 6b31400ade adds a getter/setter for `owner` (#24318) 3 months ago
msgs.nim 651fdbe586 Fixes #23624 "nim check crash" (#23625) 7 months ago
nilcheck.nim b3e02ef0c3 make `PNode.typ` a private field (#24326) 3 months ago
nim.cfg 40476fa24f fixes #23114; Nim v2 regression emit / asm var param dereference inconsistency (#24547) 3 months ago
nim.nim 494c24a7ce fixes #23848; The comand `nim gendepend` defaults to ORC (#23851) 9 months ago
nimblecmd.nim cca5684a17 fixes yet another strictdefs bug (#23069) 1 year ago
nimconf.nim cca5684a17 fixes yet another strictdefs bug (#23069) 1 year ago
nimeval.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 1 year ago
nimlexbase.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 1 year ago
nimpaths.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 1 year ago
nimsets.nim b3e02ef0c3 make `PNode.typ` a private field (#24326) 3 months ago
nodejs.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 1 year ago
nodekinds.nim 0c890ff9a7 opensym as node kind + fixed experimental switch (#23892) 8 months ago
nversion.nim b0a98cc01e warn on set types bigger than max size, default to 0..255 for int literals (#21659) 2 years ago
optimizer.nim 2de409cd0c fixes #24806; don't elide `wasMoved` when syms are used in blocks (#24831) 3 weeks ago
options.nim ec1d68fc64 Allow specifiying path to use for stdin error messages (#24595) 2 weeks ago
packagehandling.nim 93ced31353 use strictdefs for compiler (#22365) 1 year ago
packages.nim fa1819eb2d make linter use lineinfo to check originating package (#24270) 3 months ago
parampatterns.nim 538603e01d allow conversions between `var` types of range types and base types (#24037) 7 months ago
parser.nim 1227799b84 implement parser for new case objects (#24885) 1 week ago
passaux.nim b8dc58d884 test removing dollar for objects out of system (#20242) 2 years ago
passes.nim 022bd12e82 improve passes.nim (#24376) 3 months ago
pathutils.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 1 year ago
patterns.nim 20ff258a08 clean up opensym encounters in compiler (#24866) 2 weeks ago
pipelines.nim ec1d68fc64 Allow specifiying path to use for stdin error messages (#24595) 2 weeks ago
pipelineutils.nim d51a392149 replaces implicit passes array registed at runtime with explicit function calls; simplify compilation pipeline (#21444) 2 years ago
platform.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 1 year ago
pluginsupport.nim a325692fb2 refactoring: fewer global variables 7 years ago
pragmas.nim 94497c790b allow setting arbitrary size for importc types (#24868) 2 weeks ago
prefixmatches.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 1 year ago
procfind.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 1 year ago
pushpoppragmas.nim 4bf323d6c4 fixes push warnings for sempass2 (#23603) 7 months ago
readme.md 1ad618d96c clean up the documentation (#22196) 1 year ago
renderer.nim 20ff258a08 clean up opensym encounters in compiler (#24866) 2 weeks ago
renderverbatim.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 1 year ago
reorder.nim 20ff258a08 clean up opensym encounters in compiler (#24866) 2 weeks ago
rodutils.nim b79b39128e NIR: C codegen additions (#22914) 1 year ago
ropes.nim 7be2e2bef5 replaces `doAssert false` with `raiseAssert` for unreachable branches, which works better with strictdefs (#22436) 1 year ago
saturate.nim 6a621b35e7 fix warnings for deprecated `low` and `high` (#15291) 4 years ago
scriptconfig.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 1 year ago
sem.nim 7842428261 fixes `=copy` is transformed into `nkFastAsgn` and unify `mAsgn` handling (#24857) 2 weeks ago
semcall.nim 74f4042f89 isolate and rematch generic converters to get bindings (#24867) 2 weeks ago
semdata.nim f7145dd26e Revert "leave type section symbols unchanged on resem, fix overly general double semcheck for forward types (#24888)" 1 week ago
semexprs.nim 0c8cefcbef fix field setter fallback that never worked (#24871) 2 weeks ago
semfields.nim 66e2352bf9 fixes #24339; underscores used with `fields` and `fieldPairs` (#24341) 1 month ago
semfold.nim 05beb32d07 folding const expressions with branching logic (#24689) 1 month ago
semgnrc.nim f5453e453e Fixes 3 small issues with concepts (#24481) 3 months ago
seminst.nim a19d06e1f7 generally disallow recursive structural types, check proc param types (#24893) 1 week ago
semmacrosanity.nim 6bc07c7e3f handle ranges in `annotateType` for set constructors (#24737) 1 month ago
semmagic.nim 7842428261 fixes `=copy` is transformed into `nkFastAsgn` and unify `mAsgn` handling (#24857) 2 weeks ago
semobjconstr.nim c5ee216c42 Make 'field is not accessible' and 'field initialized twice' errors point to the field inside the obj construction (#24557) 3 months ago
semparallel.nim b3e02ef0c3 make `PNode.typ` a private field (#24326) 3 months ago
sempass2.nim 0dd198278e overhaul hook injections (#24841) 2 weeks ago
semstmts.nim f7145dd26e Revert "leave type section symbols unchanged on resem, fix overly general double semcheck for forward types (#24888)" 1 week ago
semstrictfuncs.nim 3812d91390 alternative, much simpler algorithm for strict func checking (#21066) 2 years ago
semtempl.nim a627c9ba9c don't mark captured field sym in template as fully used (#24660) 2 months ago
semtypes.nim f7145dd26e Revert "leave type section symbols unchanged on resem, fix overly general double semcheck for forward types (#24888)" 1 week ago
semtypinst.nim a19d06e1f7 generally disallow recursive structural types, check proc param types (#24893) 1 week ago
sighashes.nim d43a5954c5 remove nontoplevel type hack + consider symbol disamb in type hash (#23969) 8 months ago
sigmatch.nim 74f4042f89 isolate and rematch generic converters to get bindings (#24867) 2 weeks ago
sinkparameter_inference.nim 02be027e9b IC: progress and refactorings (#22961) 1 year ago
sizealignoffsetimpl.nim b3e02ef0c3 make `PNode.typ` a private field (#24326) 3 months ago
sourcemap.nim b387bc49b5 chore: fix some typos (#23412) 1 year ago
spawn.nim b3e02ef0c3 make `PNode.typ` a private field (#24326) 3 months ago
suggest.nim 1ad4e80060 fixes #22409; don't check style for enumFieldSymChoice in the function (#23580) 11 months ago
suggestsymdb.nim 899ba01ccf + added nimsuggest support for exception inlay hints (#23202) 1 year ago
syntaxes.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 1 year ago
tccgen.nim 7be2e2bef5 replaces `doAssert false` with `raiseAssert` for unreachable branches, which works better with strictdefs (#22436) 1 year ago
transf.nim 093f5a1de5 Makes `except:` panics on `Defect` (#24821) 3 weeks ago
trees.nim 20ff258a08 clean up opensym encounters in compiler (#24866) 2 weeks ago
treetab.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 1 year ago
typeallowed.nim f3da96d880 include new concepts in typeclasses, makes containsGenericType work (#24453) 3 months ago
types.nim f7145dd26e Revert "leave type section symbols unchanged on resem, fix overly general double semcheck for forward types (#24888)" 1 week ago
typesrenderer.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 1 year ago
varpartitions.nim 26107e931c fixes #23973; fixes #23974; Memory corruption with lent and ORC (#23981) 8 months ago
vm.nim 20ff258a08 clean up opensym encounters in compiler (#24866) 2 weeks ago
vmconv.nim db603237c6 Types: Refactorings; step 1 (#23055) 1 year ago
vmdef.nim bcecce885f track introduced locals in vmgen for eval check (#24674) 1 month ago
vmdeps.nim b3e02ef0c3 make `PNode.typ` a private field (#24326) 3 months ago
vmgen.nim 349ee54838 Fixes a nimsuggest crash (#24873) 1 week ago
vmhooks.nim 7be2e2bef5 replaces `doAssert false` with `raiseAssert` for unreachable branches, which works better with strictdefs (#22436) 1 year ago
vmmarshal.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 1 year ago
vmops.nim 093f5a1de5 Makes `except:` panics on `Defect` (#24821) 3 weeks ago
vmprofiler.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 1 year ago
vtables.nim 52809cd3dd fixes #24476; remove proc type cast if they are same types for backends (#24480) 3 months ago
wordrecg.nim 1324d2e04c Asm syntax pragma (#23119) 1 year ago

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.