summary refs log tree commit diff stats
path: root/compiler/sem.nim
pre { line-height: 125%; } td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; } span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; } td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; } span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; } .highlight .hll { background-color: #ffffcc } .highlight .c { color: #888888 } /* Comment */ .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */ .highlight .k { color: #008800; font-weight: bold } /* Keyword */ .highlight .ch { color: #888888 } /* Comment.Hashbang */ .highlight .cm { color: #888888 } /* Comment.Multiline */ .highlight .cp { color: #cc0000; font-weight: bold } /* Comment.Preproc */ .highlight .cpf { color: #888888 } /* Comment.PreprocFile */ .highlight .c1 { color: #888888 } /* Comment.Single */ .highlight .cs { color: #cc0000; font-weight: bold; background-color: #fff0f0 } /* Comment.Special */ .highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */ .highlight .ge { font-style: italic } /* Generic.Emph */ .highlight .ges { font-weight: bold; font-style: italic } /* Generic.EmphStrong */ .highlight .gr { color: #aa0000 } /* Generic.Error */ .highlight .gh { color: #333333 } /* Generic.Heading */ .highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */ .highlight .go { color: #888888 } /* Generic.Output */ .highlight .gp { color: #555555 } /* Generic.Prompt */ .highlight .gs { font-weight: bold } /* Generic.Strong */ .highlight .gu { color: #666666 } /* Generic.Subheading */ .highlight .gt { color: #aa0000 } /* Generic.Traceback */ .highlight .kc { color: #008800; font-weight: bold } /* Keyword.Constant */ .highlight .kd { color: #008800; font-weight: bold } /* Keyword.Declaration */ .highlight .kn { color: #008800; font-weight: bold } /* Keyword.Namespace */ .highlight .kp { color: #008800 } /* Keyword.Pseudo */ .highlight .kr { color: #008800; font-weight: bold } /* Keyword.Reserved */ .highlight .kt { color: #888888; font-weight: bold } /* Keyword.Type */ .highlight .m { color: #0000DD; font-weight: bold } /* Literal.Number */ .highlight .s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */ .highlight .na { color: #336699 } /* Name.Attribute */ .highlight .nb { color: #003388 } /* Name.Builtin */ .highlight .nc { color: #bb0066; font-weight: bold } /* Name.Class */ .highlight .no { color: #003366; font-weight: bold } /* Name.Constant */ .highlight .nd { color: #555555 } /* Name.Decorator */ .highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */ .highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */ .highlight .nl { color: #336699; font-style: italic } /* Name.Label */ .highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */ .highlight .py { color: #336699; font-weight: bold } /* Name.Property */ .highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */ .highlight .nv { color: #336699 } /* Name.Variable */ .highlight .ow { color: #008800 } /* Operator.Word */ .highlight .w { color: #bbbbbb } /* Text.Whitespace */ .highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
Using Variables in the Build Scripts
================================================================================
Every environment variable found in config.sh and the main dscip script can be
used in your build scripts. For example, you can use $CURRENT_COMMIT to create
a folder on your FTP server to put outputs into. Refer to the post.sh defaults
to see an example.
emonBoy
Commit message (Collapse)AuthorAgeFilesLines
* compiler/sem: correct macros lineinfo (#10438)alaviss2019-01-241-4/+5
2018-10-091-1/+1
| | | Closes #9068
* make tests green againAndreas Rumpf2018-09-241-2/+10
|
* extended system.type/typeof to support an upcoming 'collect' macro that ↵Andreas Rumpf2018-09-111-4/+4
| | | | works much better than sugar.lc
* change runnableExamples implementation; fixes #8641; fixes #7135; ↵Andreas Rumpf2018-09-021-23/+0
| | | | runnableExamples works for templates and generics
* WIP: disallow 'nil' for strings and seqsAndreas Rumpf2018-08-131-1/+1
|
* fixes merge conflictAraq2018-08-071-1/+2
|\
| * runnableExamples: keep (gitignored) generated foo_examples.nim for ↵Timothee Cour2018-08-071-1/+2
| | | | | | | | | | | | inspection even on success (#8544)
* | use slashes instead of dots for pathsAndreas Rumpf2018-08-061-2/+2
|/
* fixes #8323 : avoid polluting git status after `nim doc foo` (#8415)Timothee Cour2018-07-301-3/+5
|
* make runnableExamples use a private nimcache so that they can be tested in ↵skilchen2018-07-121-2/+9
| | | | | parallel (#8281) * make runnableExamples use a private nimcache so that they can be tested in parallel
* Check the RHS when building a set (#8159)LemonBoy2018-06-301-1/+1
| | | Fixes #2669
* Return an error symbol as macro output if needed (#8116)LemonBoy2018-06-271-1/+6
| | | | | | Return an error symbol if the macro output has no type and a typedesc is expected. Fixes #7454
* allow referencing other parameters in default parameter valuesZahary Karadjov2018-06-161-7/+11
| | | | | | | | fix #7756 fix #1201 fix #7000 fix #3002 fix #1046
* fixes #7222; fixes #5595; fixes #3747Zahary Karadjov2018-06-161-1/+1
| | | | | | | | | | * late instantiation for the generic procs' default param values * automatic mixin behaviour in concepts Other fixes: * don't render the automatically inserted default params in calls * better rendering of tyFromExpr
* A minimal patch enabling the new typedesc and static types syntaxZahary Karadjov2018-06-161-0/+3
|
* implements a --nep1:on switch to make the compiler enforce the naming ↵Andreas Rumpf2018-06-131-1/+1
| | | | conventions outlined in NEP-1
* fixex merge conflictsAraq2018-06-081-2/+4
|\
| * fixes #7906, array and openarray arg vs. ptr/ref generic (#7909)andri lim2018-06-041-2/+4
| | | | | | | | | | | | * fixes #7906, array and openarray arg vs. ptr/ref generic * add comment
* | fixed merge conflictAndreas Rumpf2018-06-041-1/+1
|\|
| * fixes #7818, correct internal representation of generic objects array ↵andri lim2018-05-291-1/+1
| | | | | | | | | | | | | | construction (#7824) * defer skiptypes * defer skiptypes for tyRef & tyPtr * remove unneeded skipTypes
* | incremental compilation: implemented basic replay logicAndreas Rumpf2018-06-021-8/+5
| |
* | baby steps for incremental compilationAndreas Rumpf2018-05-301-7/+2
| |
* | runnableExamples: use the self exe to test the examplesAndreas Rumpf2018-05-301-1/+1
| |
* | refactoring: move DB model to incremental.nimAndreas Rumpf2018-05-301-2/+2
| |
* | refactoring: remove idents.legacy global variable and pass the IdentCache ↵Andreas Rumpf2018-05-271-7/+7
| | | | | | | | around explicitly
* | more refactoringAndreas Rumpf2018-05-271-1/+1
| |
* | Merge branch 'devel' into araq-big-refactoringAndreas Rumpf2018-05-271-0/+1
|\|
| * fix #7883; fix #7829Zahary Karadjov2018-05-261-0/+1
| |
* | remove more global variables in the Nim compilerAndreas Rumpf2018-05-271-16/+16
| |
* | preparations of making compiler/msgs.nim free of global variablesAndreas Rumpf2018-05-171-1/+1
| |
* | remove ast.emptyNode global; cleanup configuration.nimAraq2018-05-161-1/+1
|/
* options.nim: no global variables anymoreAndreas Rumpf2018-05-131-5/+5
|
* sem pass compiles againAndreas Rumpf2018-05-121-22/+22
|
* more modules compile againAndreas Rumpf2018-05-121-13/+16
|
* more modules compile againAndreas Rumpf2018-05-121-24/+27
|
* compiler refactoring, pass config around explicitlyAndreas Rumpf2018-05-051-3/+3
|
* fixes #7601, array construction of ptr generics (#7671)andri lim2018-04-271-2/+3
| | | | | | * fixes #7601, array construction of ptr generics * add more test
* allow setting template/macro recursive evaluation limits (#7652)jcosborn2018-04-191-1/+1
| | | | | | | * allow setting template/macro recursive evaluation limits * revert setting template/macro eval limits set them to 1000
* introduce nkTupleConstr AST node for unary tuple construction; breaking changeAndreas Rumpf2018-04-131-1/+1
|
* symbol files: delay the emission of forwarded procsAraq2018-02-211-0/+1
|
* symbol files: more progressAraq2018-02-201-1/+2
|
* new .rod file implementation; part 1: writing of the fileAraq2018-02-171-1/+2
|