go2cpp
asyncrun.vim
Our great sponsors
go2cpp | asyncrun.vim | |
---|---|---|
2 | 27 | |
236 | 1,817 | |
- | - | |
6.9 | 7.2 | |
over 2 years ago | about 1 month ago | |
Go | Vim Script | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
go2cpp
-
Compiling a Go program into a native binary for Nintendo Switch™
I'll continue polishing this so that a proper game can be released for Nintendo Switch. As I described first, there is a high level of uncertainty in this project. Until a game is released, I cannot anticipate what kind of issues will occur, and I always have to be on high alert. Even in the worst case scenario, however, I know we can continue to release the game with the help of go2cpp, which is reassuring. Still, with all the hard work I’ve put into this already, I really want to release a game with Hitsumabushi and see it achieve some actual results.
-
I wrote a simple Go->C++ compiler to use for gameplay programming. Here's a demo of its use for my game project (along with an editor tool). I show the generated C++ in the end of the video. Compiler source code is ~1500 lines, link in video description. Will do a deeper public release soon!
not sure exactly about OPs use case, but for Ebiten a go to c++ conversion was done for Nintendo Switch support -- https://github.com/hajimehoshi/go2cpp
asyncrun.vim
-
Is there a plugin for async shell :%!command ?
I'm familiar with asyncrun.vim, but it outputs as quickfix. I specifically want to filter editor text (as stdin/stdout).
-
When creating a new window, can you open to the CWD in your terminal emulator of choice?
If you want to open a new terminal in the CWD of neovim, you couls either use neovim's built in terminal or, if it needa to be kitty, use the neovim AsyncRun-plugin and start kitty with the necessary command-line options to start in neovims's CWD(I uae this with Alacritty instead of Kitty).
-
How do you handle level productivity: autoformat, insert debug statement, execute file?
For running the file there are several tools. I have been using asynctasks.vim which is built on top of asyncrun.vim which I usually use to open a tmux pane and run the code/test. I've been looking at switching to overseer.nvim but haven't yet. I use justfiles to define all of my tasks.
-
How do you guys run the code you write with vim?
I can :Man blah to look up docs or :AsyncRun to build/run with jumpable output in the quickfix. Doing it within vim means I can pull from any register for pasting, yank without a mouse, hide buffers or move them to tabs, etc.
-
VSCode -> VIM, but how do I accomplish the other IDE tasks?
I use asyncrun.vim to see compile output as it happens (line by line instead of the whole dump when compile completes) and asynchronously (so I can keep navigating around).
-
Output of external command to messages ?
try asyncrun:
-
Run code with F5 and leave buffer open
Also AsyncRun and AsyncTasks worth a mention.
-
Asyncrun and ANSI codes
Hey folks, I'm using asyncrun to run async commands on vim, but some of them output ansi colorcodes, I've found powerman's AnsiEsc which is able to conceal and highlight them very well, but that only work for the current buffer, so there's no way to automate it from g:asyncrun_exit and I can't set the -post from asynctasks, has anyone found a way to fix this?
- Run code in Nvim
-
Run Any Language with Same Macro!
As you can see, I use asyncrun.nvim since sometime compiling/running will take quite long. For some complex situations, like c++ project with cmake, I use following code:
What are some alternatives?
zig-wasm-test - A minimal Web Assembly example using Zig's build system.
vim-dispatch - dispatch.vim: Asynchronous build and test dispatcher
zig-wasm-test
lsp-zero.nvim - A starting point to setup some lsp related features in neovim.
coc-go - Go language server extension using gopls for coc.nvim.
fzf-lua - Improved fzf.vim written in lua
Azul3D - Azul3D - A 3D game engine written in Go!
vim-fugitive - fugitive.vim: A Git wrapper so awesome, it should be illegal
entt - Gaming meets modern C++ - a fast and reliable entity component system (ECS) and much more
asynctasks.vim - :rocket: Modern Task System for Project Building, Testing and Deploying !!
hitsumabushi - Run Go programs (almost) everywhere
todoist.nvim - A todoist extension for neovim