Experimental. USE AT YOUR OWN RISK.
在正式比赛中使用的风险未知.
nlcc
:$ nlcc
Choose browser [firefox|chrome|edge] (chrome): [Enter]
Browser profile path (/Users/whoami/Library/Application Support/Google/Chrome/Default): [Enter]
Choose language [nimjs|nimwasm|python3]: python3[Enter]
第 132 场双周赛
Starts in: 0 days, 4 hours, 16 minutes, 12 seconds.
If you have only one browser profile, just accept the default profile path. Otherwise, find the profile path for the current profile:
chrome://version
in the address bar.Profile Path
(个人资料路径
).edge://version
in the address bar.Profile Path
(个人资料路径
).about://profiles
in the address bar.Root Directory
of the desired profile.$ nlcc help
Code templates reside in respective folders in tmpl
. Change the templates as needed (i.e. adding imports, code snippets, etc.), but leave the template variables intact.
Visual Studio Code is hard-coded as the code editor and diff tool at the moment. May be configurable in the future.
$ cd docker/python3
$ build.bat # windows
$ build.sh # others
nlcc test -l
instead of nlcc test
to test locally$ cd docker/python3
$ build.bat # windows
$ build.sh # others
breakpoint()
to set breakpoints.nlcc debug
.Run and Debug
(运行和调试) tab, and launch nlcc debug
. The debugger should stop at the first breakpoint.Add new implementations of BaseProject to src/projects/. For example Python3Project. Pull requests are welcome.
$ brew install zig # OSX
$ ./build.sh
Firefox | Chrome | Edge | |
---|---|---|---|
Mac OS | ✅ | ✅ | ❌ |
Windows | ✅ | ✅ | |
Linux | ❌ |