Comments (7)
My vote is just to remove it. There are too many caveats right now and I think it will be more confusing than it's worth for someone new to Crystal.
from crystal.
Compling the language doesnt really require any crystal knowledge but you have to be used to your operating system and how to build apps from source. Since the experience isn't super user friendly.
But I think at some point we might use the repl for the test runner on the site, but it has to mature before then and I would need it to be apart of the standard library
from crystal.
Good catch!
I am a bit unsure what to do with that link, since the icr repo as you said has moved. But in like 2022 the official Crystal lang got a repl. Problem is that unless you use homebrew you have to manually compile a Crystal version which supports the repl. And I am unsure if I should have a doc about that or just remove the link.
from crystal.
I'm new to Crystal myself (just about to dive in 😃) but if there indeed exists an official repl I think that would be the more natural thing to use, rather than a stale third-party application.
from crystal.
I'm new to Crystal myself (just about to dive in 😃) but if there indeed exists an official repl I think that would be the more natural thing to use, rather than a stale third-party application.
Even if you need to build Crystal from source to be able to use it? I don't disagree that it has value, but I think that might be a bit overwhelming for someone that's trying to learn.
from crystal.
I see your point. I guess I'm just so used to building things from source myself to realize it might be a bit too involved for some people, especially if they're new to programming. 😆
from crystal.
I am personally not using a Crystal version compiled with the interpreter. Since you have to recompile every time you want to update the language.
I will leave you with a short step through tutorial if you like to install the repl:
Also I only recommend doing this if you are using Linux, if you are using mac I sorta just recommend using homebrew and windows I recommend wsl for the repl.
Step 1: Install Crystal (not from source)
Step 2: Clone the Crystal-lang repo from the 1.9 branch or main :https://github.com/crystal-lang/crystal/tree/release/1.9
Step 3: Run make with the argument interpreter=1
.
Step 4: Assign the newly compiled language version as main version
Here is a doc from 2021 explaining the repl: https://crystal-lang.org/2021/12/29/crystal-i/
Here is also a doc on how to install the language from source: https://crystal-lang.org/install/from_sources/
from crystal.
Related Issues (20)
- Confusing sentence about method return values HOT 1
- Inconsistent class method names HOT 2
- Blackjack Spec
- [BlackJack]: Inconsistent class methods name HOT 2
- Add practices to practice exercises HOT 1
- Crystal Analyzer generated feedback is not visible HOT 2
- [Luhn] Unrelated Time#leap_year? ban in Luhn exercise
- [Meltdown Mitigation] Rename `is_criticality_balanced?` to `criticality_balanced?`
- Building a training set of tags for crystal HOT 23
- Deprecate scale-generator?
- Some possible language/typo corrections to the Library of Luton exercise README HOT 2
- Minor language correction in the Instructions to the Bellebrook Basket League exercise HOT 2
- [New Practice Exercise]: Parallel letter frequency HOT 2
- [New Practice Exercise]: Zebra Puzzle HOT 5
- 🤖 Sync error for commit 8cb214 HOT 8
- On exercise "navigation-computer" - tests are passing even when last task is not implemented HOT 1
- [New Practice Exercise]: Dnd Character HOT 3
- [New Practice Exercise]: Food Chain
- [Create Approach]: List Ops
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 crystal.