Add Nim demo
This commit is contained in:
18
demos/nim/.vscode/launch.json
vendored
Normal file
18
demos/nim/.vscode/launch.json
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"type": "lldb",
|
||||
"request": "launch",
|
||||
"name": "Run your Executable",
|
||||
"program": "${workspaceFolder}/main",
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder}",
|
||||
"initCommands": [
|
||||
// To let LLDB know that NCSTRING is just like a C string
|
||||
"type format add --format c-string NCSTRING"
|
||||
],
|
||||
"preLaunchTask": "build"
|
||||
}
|
||||
]
|
||||
}
|
||||
10
demos/nim/.vscode/tasks.json
vendored
Normal file
10
demos/nim/.vscode/tasks.json
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "build",
|
||||
"type": "shell",
|
||||
"command": "nim c main.nim"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user