-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnim.cfg
executable file
·31 lines (22 loc) · 1.12 KB
/
nim.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#--experimental:strictEffects
# Turn on the new refined effect tracking. It enables the new .effectsOf
# annotation for effect polymorphic code ("this code raises if the callback does so").
#--experimental:unicodeOperators
# Allow the usage of Unicode operators. I hope that some of
# the scientific computing libraries use this soon.
#--experimental:overloadableEnums
# Allow enum field names to be overloaded. I hope some libraries make good use of this feature.
--define:nimPreviewDotLikeOps
# Dot-like operators (operators starting with `.`, but not with `..`)
# now have the same precedence as `.`, so that `a.?b.c` is now parsed as `(a.?b).c`
# instead of `a.?(b.c)`.
--experimental:implicitDeref
# Automatic dereferencing is performed for the first argument of a routine call.
--define:nimPreviewFloatRoundtrip
# Enable much faster "floating point to string" operations that also produce
# easier to read floating point numbers.
--gc:orc
# The one and only way to do memory management in modern Nim.
--define:nimStrictDelete
# make system.delete strict for index out of bounds accesses.
--debugger:native