DEV Community

Discussion on: Shareable CLI demo?

Collapse
 
awwsmm profile image
Andrew (he/him) • Edited

Have you considered repl.it?

Collapse
 
deciduously profile image
Ben Lovy

Ah, shoot - looks like they don't support external dependencies for Rust, and I'm leaning on a parsing library.

Collapse
 
awwsmm profile image
Andrew (he/him)

Can you cut and paste the relevant bits into a file? And include that file?

Thread Thread
 
deciduously profile image
Ben Lovy

I'll play with it, but I think I need to be able to pull in the parsing crate to the build. It would probably be feasible to implement parsing by hand now that I've figured out the file format, which solves the problem, but not quickly.

Thread Thread
 
awwsmm profile image
Andrew (he/him)

Better than rewriting the whole thing in JavaScript, though?

Thread Thread
 
deciduously profile image
Ben Lovy

Heh. How so very right you are.

Collapse
 
deciduously profile image
Ben Lovy

Ah jeeze, you may have just completely solved this problem. I didn't realize you could include other files to read!

I think I owe you a beer or something.