-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Still working * Implemented single-session and configurations for session type * Finalizaing single-session * Resolved comments * Got rid of dead code
- Loading branch information
Showing
5 changed files
with
135 additions
and
131 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,108 +1,85 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"type": "cider-dap", | ||
"request": "launch", | ||
"name": "Launch Program (Multi Session)", | ||
"program": "${file}", | ||
"stopOnEntry": true, | ||
}, | ||
{ | ||
"type": "cider-dap", | ||
"request": "launch", | ||
"name": "Launch Program", | ||
"program": "${workspaceFolder}/Program" | ||
}, | ||
{ | ||
"name": "Python: Current File", | ||
"type": "python", | ||
"request": "launch", | ||
"program": "${file}", | ||
"console": "integratedTerminal", | ||
"justMyCode": false | ||
}, | ||
{ | ||
"type": "lldb", | ||
"request": "launch", | ||
"name": "Debug Compiler", | ||
"args": [ | ||
"${input:target}", | ||
"-l", | ||
"${workspaceFolder}", | ||
"-p", | ||
"${input:pass}", | ||
"-b", | ||
"${input:backend}", | ||
], | ||
"program": "${workspaceFolder}/target/debug/calyx", | ||
"cwd": "${workspaceFolder}", | ||
"stopOnEntry": false, | ||
"sourceLanguages": [ | ||
"rust" | ||
], | ||
"preLaunchTask": "Cargo Build", | ||
"console": "integratedTerminal", | ||
}, | ||
{ | ||
"type": "lldb", | ||
"request": "launch", | ||
"name": "Debug Interpreter", | ||
"args": [ | ||
"${input:target}", | ||
"-l", | ||
"${workspaceFolder}" | ||
], | ||
"program": "${workspaceFolder}/target/debug/cider", | ||
"windows": { | ||
"program": "${workspaceFolder}/target/debug/cider.exe" | ||
}, | ||
"cwd": "${workspaceFolder}", | ||
"stopOnEntry": false, | ||
"sourceLanguages": [ | ||
"rust" | ||
], | ||
}, | ||
{ | ||
"type": "lldb", | ||
"request": "launch", | ||
"name": "Debug Interpreter on current file", | ||
"args": [ | ||
"${file}", | ||
"-l", | ||
"${workspaceFolder}" | ||
], | ||
"program": "${workspaceFolder}/target/debug/cider", | ||
"windows": { | ||
"program": "${workspaceFolder}/target/debug/cider.exe" | ||
}, | ||
"cwd": "${workspaceFolder}", | ||
"stopOnEntry": false, | ||
"sourceLanguages": [ | ||
"rust" | ||
], | ||
} | ||
], | ||
"inputs": [ | ||
{ | ||
"id": "target", | ||
"type": "promptString", | ||
"description": "Target file" | ||
}, | ||
{ | ||
"id": "pass", | ||
"type": "promptString", | ||
"description": "Pass to be executed by the compiler (only one allowed)", | ||
"default": "all" | ||
}, | ||
{ | ||
"id": "backend", | ||
"type": "pickString", | ||
"description": "Backend to be used by the compiler", | ||
"options": [ | ||
"verilog", | ||
"calyx", | ||
], | ||
} | ||
] | ||
} | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"type": "cider-dap", | ||
"request": "launch", | ||
"name": "Debug w/ Cider", | ||
"program": "${file}", | ||
"stopOnEntry": true | ||
}, | ||
{ | ||
"name": "Python: Current File", | ||
"type": "python", | ||
"request": "launch", | ||
"program": "${file}", | ||
"console": "integratedTerminal", | ||
"justMyCode": false | ||
}, | ||
{ | ||
"type": "lldb", | ||
"request": "launch", | ||
"name": "Debug Compiler", | ||
"args": [ | ||
"${input:target}", | ||
"-l", | ||
"${workspaceFolder}", | ||
"-p", | ||
"${input:pass}", | ||
"-b", | ||
"${input:backend}" | ||
], | ||
"program": "${workspaceFolder}/target/debug/calyx", | ||
"cwd": "${workspaceFolder}", | ||
"stopOnEntry": false, | ||
"sourceLanguages": ["rust"], | ||
"preLaunchTask": "Cargo Build", | ||
"console": "integratedTerminal" | ||
}, | ||
{ | ||
"type": "lldb", | ||
"request": "launch", | ||
"name": "Debug Interpreter", | ||
"args": ["${input:target}", "-l", "${workspaceFolder}"], | ||
"program": "${workspaceFolder}/target/debug/cider", | ||
"windows": { | ||
"program": "${workspaceFolder}/target/debug/cider.exe" | ||
}, | ||
"cwd": "${workspaceFolder}", | ||
"stopOnEntry": false, | ||
"sourceLanguages": ["rust"] | ||
}, | ||
{ | ||
"type": "lldb", | ||
"request": "launch", | ||
"name": "Debug Interpreter on current file", | ||
"args": ["${file}", "-l", "${workspaceFolder}"], | ||
"program": "${workspaceFolder}/target/debug/cider", | ||
"windows": { | ||
"program": "${workspaceFolder}/target/debug/cider.exe" | ||
}, | ||
"cwd": "${workspaceFolder}", | ||
"stopOnEntry": false, | ||
"sourceLanguages": ["rust"] | ||
} | ||
], | ||
"inputs": [ | ||
{ | ||
"id": "target", | ||
"type": "promptString", | ||
"description": "Target file" | ||
}, | ||
{ | ||
"id": "pass", | ||
"type": "promptString", | ||
"description": "Pass to be executed by the compiler (only one allowed)", | ||
"default": "all" | ||
}, | ||
{ | ||
"id": "backend", | ||
"type": "pickString", | ||
"description": "Backend to be used by the compiler", | ||
"options": ["verilog", "calyx"] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters