Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).
54 matches across 8 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | config/nimdoc.cfg | 41 | </ul> |
| LOW | config/nimdoc.cfg | 81 | # See doc.item for available substitution variables. |
| LOW | tests/manyloc/packages/noconflicts.nim.cfg | 1 | # Mark noconflicts as project file |
| LOW | tests/compiler/nim.cfg | 1 | # note: consider moving tests/compilerapi/ to tests/compiler/ since |
| LOW | lib/nimbase.h | 41 | #define CLANG_NO_SANITIZE_ADDRESS |
| LOW | lib/nimbase.h | 61 | # pragma GCC diagnostic ignored "-Winvalid-offsetof" |
| LOW | lib/nimbase.h | 81 | |
| LOW | lib/nimbase.h | 101 | # define N_INLINE(rettype, name) rettype __inline name |
| LOW | lib/nimbase.h | 121 | # endif |
| LOW | lib/nimbase.h | 141 | #define NIM_THREAD_LOCAL thread_local |
| LOW | lib/nimbase.h | 161 | #ifdef __cplusplus |
| LOW | lib/nimbase.h | 181 | # define N_SAFECALL_PTR(rettype, name) rettype (__stdcall *name) |
| LOW | lib/nimbase.h | 201 | # define N_STDCALL_PTR(rettype, name) rettype (*name) |
| LOW | lib/nimbase.h | 221 | # else |
| LOW | lib/nimbase.h | 241 | |
| LOW | lib/nimbase.h | 261 | |
| LOW | lib/nimbase.h | 281 | // On failure, your C compiler will say something like: |
| LOW | lib/nimbase.h | 301 | |
| LOW | lib/nimbase.h | 321 | #elif (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901) |
| LOW | lib/nimbase.h | 341 | # // both `((void*)0)` and `NULL` would cause codegen to emit |
| LOW | lib/nimbase.h | 401 | typedef __INT32_TYPE__ NI32; |
| LOW | lib/nimbase.h | 421 | #ifdef __UINT32_TYPE__ |
| LOW | lib/nimbase.h | 481 | #if defined(__cplusplus) && defined(__clang__) |
| LOW | lib/nimbase.h | 501 | # endif |
| LOW | lib/nimbase.h | 541 | # define NIM_UNLIKELY(x) __builtin_expect(x, 0) |
| LOW | lib/nimbase.h | 561 | // Test to see if Nim and the C compiler agree on the size of a pointer. |
| LOW | lib/nimbase.h | 581 | # include <types/vxWind.h> |
| LOW | lib/nimbase.h | 601 | /* arm-none-eabi-gcc and riscv32-unknown-elf-gcc targets define int32_t as long int */ |
| LOW | lib/cycle.h | 81 | #if TIME_WITH_SYS_TIME |
| LOW | lib/wrappers/linenoise/linenoise.c | 101 | * Sequence: ESC [ 2 J |
| LOW | doc/testament.md | 121 | action: "run" |
| LOW | doc/testament.md | 161 | # Error message the test should print, if any. |
| LOW | doc/advopt.txt | 1 | Advanced commands: |
| LOW | doc/tut3.md | 141 | # output: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/debug/nimlldb.py | 78 | # Check if data pointer is Null |
| LOW | tools/debug/nimlldb.py | 92 | # Check if first element is NULL |
| LOW | tools/debug/nimlldb.py | 109 | # Check if data pointer is Null |
| LOW | tools/debug/nimlldb.py | 121 | # Check if first element is NULL |
| LOW | tools/debug/nimlldb.py | 514 | # Check if first element is NULL |
| LOW | tools/debug/nimlldb.py | 531 | # Check if first element is NULL |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/debug/nim-gdb.py | 98 | |
| LOW | tools/debug/nim-gdb.py | 240 | |
| LOW | tools/debug/nimlldb.py | 792 | |
| LOW | tools/debug/nimlldb.py | 763 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/debug/nim-gdb.py | 4 | |
| LOW | tools/debug/nim-gdb.py | 5 | |
| LOW | tests/untestable/gdb/gdb_pretty_printer_test.py | 3 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/debug/nim-gdb.py | 16 | except Exception as e: |
| LOW | tools/debug/nim-gdb.py | 687 | except Exception as e: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/debug/nim-gdb.py | 692 | def register_nim_pretty_printers_for_object(objfile): |
| LOW | tools/debug/nimlldb.py | 1240 | def breakpoint_function_wrapper(frame: lldb.SBFrame, bp_loc, internal_dict): |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/testdata/string.txt | 1 | Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magn |
| LOW | tests/testdata/string.txt | 1 | Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magn |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/debug/nim-gdb.py | 118 | tname = target_type.name # could also just return 'string' |