As part of learning Rust📱 , I attempted to create a command-line interface (CLI) tool that could function as a universal code runner. This tool could execute code from the command line, the Read-Evaluate-Print Loop (REPL), files, and even Pipe stdin. It supported over 2️⃣ 0️⃣ languages, including compiled languages.
I recently started learning Rust📱 and tried creating this project while following the learning resources on https://rust-lang.org/learn/. I used AI to aid my learning and speed up the project, so I expect some issues.
If you’re familiar with Cargo, you can install the tool using the following command:
and use
to update.
Alternatively, you can visit the GitHub repository at https://github.com/esubaalew/run. There, you’ll find download options for your operating system, including macOS, Windows, and Debian. The readme file provides further details, or you can directly download from the release page.
```shell
$ run go
run universal REPL. Type :help for commands.
go>>> package main
import "fmt"
func main() {
fmt.Println("Hello, world!")
}
Hello, world!
go
shell
go>>> fmt.Println("Hello, world!")
Hello, world!
shell
echo '{"name":"Ada"}' | run js --code "const data = JSON.parse(require('fs').readFileSync(0, 'utf8')); console.log(
shell
run /this/is/cool.dart
shell
run
python>>> x = 10
python>>>x
python>> 10
python>>> : go
go>>> x:=20;
go>>>x
go>>>20
This projects also became on HN front page:
https://news.ycombinator.com/item?id=45475528
I recently started learning Rust
If you’re familiar with Cargo, you can install the tool using the following command:
cargo install run-kit
and use
--force
to update.
Alternatively, you can visit the GitHub repository at https://github.com/esubaalew/run. There, you’ll find download options for your operating system, including macOS, Windows, and Debian. The readme file provides further details, or you can directly download from the release page.
run --version
// run without anycode
run "fn main() { println!("hello from rust"); }"
or
// tell the language
run rust "fn main() { println!("hello from rust"); }"
// or even make it clear
run --l rust --c "fn main() { println!("hello from rust"); }"
```shell
$ run go
run universal REPL. Type :help for commands.
go>>> package main
import "fmt"
func main() {
fmt.Println("Hello, world!")
}
Hello, world!
or even
go
shell
go>>> fmt.Println("Hello, world!")
Hello, world!
the ff is also possible
shell
echo '{"name":"Ada"}' | run js --code "const data = JSON.parse(require('fs').readFileSync(0, 'utf8')); console.log(
hi ${data.name})"
or just tell the file
shell
run /this/is/cool.dart
inside interactive mode you can change the languages with ease
shell
run
python>>> x = 10
python>>>x
python>> 10
python>>> : go
go>>> x:=20;
go>>>x
go>>>20
`This projects also became on HN front page:
https://news.ycombinator.com/item?id=45475528
Please open Telegram to view this post
VIEW IN TELEGRAM
rust-lang.org
Learn Rust
A language empowering everyone to build reliable and efficient software.
2🔥8❤1
እሱባለው
As part of learning Rust📱 , I attempted to create a command-line interface (CLI) tool that could function as a universal code runner. This tool could execute code from the command line, the Read-Evaluate-Print Loop (REPL), files, and even Pipe stdin. It supported…
Today marks
This release introduces syntax highlighting — meaning you’ll now see cool colors as you type your code.
Even better:
It’s fast
It adapts automatically to the language you choose
And the colors are unique for each language .
Explore the update and see it in action:
#run #run_kit #run_esubaalew #esuaalew #esubalew #rust
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
1❤10
Media is too big
VIEW IN TELEGRAM
Can you believe this is created using simple key-value JSON like languages that produce fantastic graphics?
This amazing app funcdraw.app is made by teweldemat also creator of funcscript a .NET-first expression language and runtime that lets you embed concise, functional business logic inside your applications.
Give it star here https://github.com/teweldemat/funcscript
This amazing app funcdraw.app is made by teweldemat also creator of funcscript a .NET-first expression language and runtime that lets you embed concise, functional business logic inside your applications.
Give it star here https://github.com/teweldemat/funcscript
36🔥7❤5
Hiring a Backend Engineer!
Are you an expert in C# and SQL with excellent team coordination skills?
If you thrive in a collaborative environment and are looking for your next challenge in backend development, we want to hear from you!
BOMBARD me with your CV and let me know how you're the perfect fit!
#job #backend #csharp@Esubbalew
Are you an expert in C# and SQL with excellent team coordination skills?
If you thrive in a collaborative environment and are looking for your next challenge in backend development, we want to hear from you!
BOMBARD me with your CV and let me know how you're the perfect fit!
#job #backend #csharp@Esubbalew
1❤7🫡3
Drop it in any private chat or group and it just works.
Ask it anything. Mention it anywhere. Let it be the smartest one in the thread.
Not responsible for your group chat becoming insufferably well-informed.
Please open Telegram to view this post
VIEW IN TELEGRAM
❤4
Job opportunity 🌱
My friends at Wovera🌾 are hiring Software Engineers 👨💻 👩💻 .
1. Junior Full stack Typescript Developer💻
2. .NET/C# Backend Engineer ⚙️
If you want to build cool stuff, go ahead and apply today📝 ✨ .
https://www.woverasolutions.com/careers🔗
My friends at Wovera
1. Junior Full stack Typescript Developer
2. .NET/C# Backend Engineer ⚙️
If you want to build cool stuff, go ahead and apply today
https://www.woverasolutions.com/careers
Please open Telegram to view this post
VIEW IN TELEGRAM
🙏2
እሱባለው
Use @BilihBot for day-to-day uses for free. Mention it in any Telegram group, make it an admin or a member, or you can also chat with it in a private chat.
Only free usage is allowed in public groups without payment. To use it: add it to a group, make it an admin (or just a member), and chat freely. No charges for everyday use.
Want to explore more? Let me know who manages the bot or how to activate specific features.
Want to explore more? Let me know who manages the bot or how to activate specific features.
👍3
I made new emoji packs that better represent the Ethiopian Abugida, numbers, and punctuation.
So we can use Ge'ez fidel like🔤 or 🔤 or Amharic fidel like 🔤 or 🔤
and the Ge'ez numbers🔤 🔤 🔤 and 🔤 or 🔤 🔤 🔤
and even the punctuation like🔤 🔤 🔤 or 🔤 🔤 🔤
I believe Ethiopia must be well represented. I am not sure whether there are already other packs like this, but for sure the design will be different anyway.
🔤 🔤
🔤 🔤 🔤 🔤 🔤 🔤
Flag
https://t.me/addemoji/FidelGeezFlag_by_Informing_Robot
https://t.me/addemoji/FidelAmharicFlag_by_Informing_Robot
https://t.me/addemoji/FidelNumbersFlag_by_Informing_Robot
https://t.me/addemoji/FidelPunctFlag_by_Informing_Robot
Gold
https://t.me/addemoji/FidelGeezGold_by_Informing_Robot
https://t.me/addemoji/FidelAmharicGold_by_Informing_Robot
https://t.me/addemoji/FidelNumbersGold_by_Informing_Robot
https://t.me/addemoji/FidelPunctGold_by_Informing_Robot
So we can use Ge'ez fidel like
and the Ge'ez numbers
and even the punctuation like
I believe Ethiopia must be well represented. I am not sure whether there are already other packs like this, but for sure the design will be different anyway.
As an Ethiopian, I take immense pride in our rich heritage our unique calendar, ancient numeral system, and versatile script, which has adapted over centuries to express almost any sound. While other packs may exist, these feature a distinct design crafted with care to ensure Ethiopia is beautifully represented online.
Flag
https://t.me/addemoji/FidelGeezFlag_by_Informing_Robot
https://t.me/addemoji/FidelAmharicFlag_by_Informing_Robot
https://t.me/addemoji/FidelNumbersFlag_by_Informing_Robot
https://t.me/addemoji/FidelPunctFlag_by_Informing_Robot
Gold
https://t.me/addemoji/FidelGeezGold_by_Informing_Robot
https://t.me/addemoji/FidelAmharicGold_by_Informing_Robot
https://t.me/addemoji/FidelNumbersGold_by_Informing_Robot
https://t.me/addemoji/FidelPunctGold_by_Informing_Robot
Please open Telegram to view this post
VIEW IN TELEGRAM
🔥16
Got acess to Gram wallet
Sending and receiving money on Telegram is now much simpler. The native Gram wallet on Telegram is rolling out.
Sending and receiving money on Telegram is now much simpler. The native Gram wallet on Telegram is rolling out.
🔥4❤1
60 hours straight on dual T4s with my custom dataset. The GPUs were literally wheezing for mercy, but the run survived 💀🔥 Compute gods, hear my prayer: send A100s.