Comments (5)
@faustinoaq
I think that I missed this part:
On WSL you need a bat script to execute crystal via bash.exe, please see wiki: https://github.com/crystal-lang-tools/vscode-crystal-lang/wiki/Settings#bashonwindows
I just installed Crystal from the Linux tarballs... I will install and let you know if it all worked.
from vscode-crystal-lang.
Error messages resolved
Great
Issue closed
from vscode-crystal-lang.
Hi @98-f355-f1 Thank you for using Crystal, this extension is still a big work in progress
On WSL you need a bat script to execute crystal via bash.exe
, please see wiki: https://github.com/crystal-lang-tools/vscode-crystal-lang/wiki/Settings#bashonwindows
from vscode-crystal-lang.
I'll check it out. I can use Crystal perfectly well with Debian bash and VSC, it's just those pesky error messages in code that is a nuisance, and have been playing around a bit. I was able to convert some number crunching functions from Ruby to Crystal with a little effort... as I was learning about the strict type system. Since I needed a big number, I found the BigInt type... works great, but a little bit tedious to declare and instantiate every single variable that the algorithm touches as to not get a TypeError.
I am going to do my own benchmarking against MRI, JRuby, straight C and Crystal.. from what I've seen from others I'd expect C to win by a nose over Crystal, but handily beat MRI and JRuby. I will also start figuring out how to benchmarking on C ext. in MRI vs. Crystal out of the box, and Crystal with C ext. Should be fun.
How do I become a contributor to your code base? I am a newcomer, but learning fast. I have some personal algorithms that I added to my own Ruby SecureRandom code base, so I can crunch Bitcoin hashes, and generate keys... perhaps, I could refactor them and submit, and you guys can decide to put them in and use them?
I haven't poked around enough through all of the files to see what you have or don't have against MRI Ruby, but I'd like to help if I can.
Thanks again
from vscode-crystal-lang.
BTW, is this the compiler???
I copied the whole path from my windows C: all the way into the Debian WSL file system and ends at the "user path" \src\compiler\crystal\crystal.cr ....
Or is it in the next folder of crystal at ...\crystal\ where this is compiler_path.cr, compiler.cr ??
from vscode-crystal-lang.
Related Issues (20)
- Compiler warning parsed in output HOT 4
- Code Helper process showing 200-300% CPU usage on MacOS HOT 4
- Improper Syntax Highlighting when using `%Q` and string interpolation
- %w is not interpreted as string. HOT 1
- Publish to open-vsx HOT 7
- Wrong syntax highlighting when symbol name is equal to a keyword HOT 3
- How to disable "crystal" task provider? HOT 10
- macOS BigSur - .cache directory is getting created under the project directory HOT 2
- Syntax checking does not work in WSL 2 HOT 1
- Regex special character escaping is ignored by syntax highlighter
- Support for Crystal syntax in CudaText editor
- Heredoc syntax highlighting is incorrect HOT 2
- Type and method introspection not working HOT 1
- error requiring "prelude" on windows HOT 3
- Color change when adding return type to class method HOT 5
- Auto-formatting issue with some keywords HOT 1
- building for macOS-x86_64 but attempting to link with file built for macOS-arm64 HOT 1
- How to autoformat on save? HOT 1
- Add Crystal Specs to native Testing UI HOT 1
- [Feature] Being able to Ctrl-click a class or method HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-crystal-lang.