USB and console-mode support

⚓ rust    📅 2025-04-26    👤 surdeus    👁️ 1      

surdeus

Hello.
I'm considering using Rust for my project, which is a terminal IDE for a Forth compiler I'm writing for a microcontroller. I wanted to use Racket Scheme but that was a no-go because Racket doesn't have any support for USB, so I'm considering Rust. Just to verify, Rust does support USB, right?

I will also need support for console-mode display (I don't want a GUI because that would be a lot to learn, and it would be an overkill for a terminal). Something roughly comparable to NCURSES should be fine. I had NOTCURSES recommended to me, but I haven't looked into it yet.

Eventually I would like to write a Scheme interpreter in Rust. This would probably be byte-code as it doesn't need a lot of speed. It would be for the end-user to do some customization (add some new messages to and from the microcontroller). Has anybody written a scripting language for Rust? This doesn't have to be Scheme, but most anything would be adequate. I was impressed by Lua that C programmers use, but I would prefer to not use C for my project.

I'm using Windows-11. Some C-based languages (such as Chicken Scheme) use MINGW. This might be a problem for me, as this involves using Bash. I want my program to run out of PowerShell or CMD.EXE because that is what Windows users should be familiar with. My terminal presumably will not include a text-editor, but will interact with whichever Windows text-editor the user chooses.

thanks for any info --- Hugh Aguilar

1 post - 1 participant

Read full topic

🏷️ rust_feed