Updates from the Repl.it team about the product

← Back to all posts
15
Two new languages: Nim and Crystal
amasad (1224)

Continuing on our language-adding binge, today we're excited to announce two new languages: Nim and Crystal!

Nim

Nim is a statically-typed language tailored for systems programming. It's fast but it also looks good and is easy to use. Furthermore, it's cross-platform and sports multiple compile targets (including JavaScript).

Give it a spin!

Crystal

Crystal plays on the same theme as Nim -- a statically-typed language with a pleasant syntax inspired by Ruby. Additionally, Crystal early catches bugs like null references and sports a powerful macro system.

Give it a spin!

Commentshotnewtop
3
theangryepicbanana (663)

@amasad can you add highlighting for constants (/[A-Z]\w*/), symbols, (/:(?:(?:@{1,2}|\$)?[a-zA-Z_]\w*[=!?]?|[\+\-*\/%^|&]|[<>]=?|[!=]=|=[~!]|\[\][=?]?)/), tuple keys (/[a-zA-Z_]\w*:/), string interpolation (like "1 + 1 = #{1 + 1}"), macros, and commonly used functions (such as puts/print/p, gets, new, map, each, and times)?

1
theangryepicbanana (663)

also I don't see Crystal on the repl list

2
amasad (1224)

@theangryepicbanana which language is that? Crystal?

Oh, I'll reveal it in the language list.

2
faustinoaq (1)

This is awesome!!! Thank you so much <3

1
PAULX (16)

I had never used Crystal at repl.it but it still did it in my profile in the category "I write"

1
AryBorenszweig (0)

This is great, thank you!

However I can't see Crystal in the languages list nor I'm able to create a repl for Crystal.

1
AryBorenszweig (0)

@amasad It's working! Thank you!

1
SolitudeSF (0)

Why is Nim using compiler version that is 3 years old? Where did you even find it?

1
amasad (1224)

@SolitudeSF what are you talking about? It's from last year

2
citycide (1)

@amasad agreed, 0.19.4 is the current stable release and there's been quite a few changes since 0.17.2

Regardless, thanks for adding Nim! It'll be great to have a high quality playground like repl.it around, I've really enjoyed using it with several other languages.

3
1
citycide (1)

@amasad Thanks, that's great!