0 branches
Tree
Top files
Clone with HTTPS:
test.v
tools: cleanup entries from the hardcoded skip_files list in common.v (used by `v test`, `v test-self` etc); use the new `// vtest build:` syntax to mark the tests instead (#23918)
1 year ago
304 bytes
README.md
examples: show how to call a simple v module from ruby (#19073) (#19073)
2 years ago
275 bytes
A simple example to show how to call a function written in v from ruby
Step 1: Compile the v code to a shared library using v -d no_backtrace -shared test.v
Step 2: Run the ruby file using ruby test.rb
Note: you do not need -d no_backtrace if you use gcc or clang .