Wren status and porting to microcontrollers possible?

126 views
Skip to first unread message

george crombie

unread,
Mar 2, 2024, 9:09:15 PM3/2/24
to Wren
Hello. I see that posts here are several years old. Is Wren still under development?

I was wondering if anyone had ported wren to run bare metal on a modern microcontroller, such as a raspberry pi pico or any flavor of the esp32? These have tons of RAM, large external flash used for code and files, and in general are equal to desktops of an earlier era. they should be plenty fast enough for wren to really fly!

I'm glad to help with testing and debugging and possibly with coding, though I am not a coding wizard.

thanks.
Dr. C

Eric Seidel

unread,
Mar 5, 2024, 5:12:40 PM3/5/24
to wren...@googlegroups.com
The last commit to wren was 2 years ago:

About 3 years back I tried to port it to rust, but didn't quite finish.

https://github.com/domeengine/dome appears to still be active.  I think folks are still using it, just haven't seen much activity on this list.

--
You received this message because you are subscribed to the Google Groups "Wren" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wren-lang+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wren-lang/8e7a9d9e-40de-420d-a0a1-981467654e5dn%40googlegroups.com.

george crombie

unread,
Mar 5, 2024, 8:44:39 PM3/5/24
to wren...@googlegroups.com
I am most interested in porting the wren-cli code to arduino platform. The arduino can support filesystems, so source code as well as compiled binaries can reside there. The newer chips have abundant RAM (400k in some cases), more than was needed to run the Turbo Pascal system back in the 1980s.

george crombie

unread,
Mar 7, 2024, 11:41:10 AM3/7/24
to wren...@googlegroups.com
One area of concern for me is the types in wren. For a controller system, types like unsigned int, unsigned char, and possibly 64 bit int and 64 bit float, might be needed. Rust seems to have lots of types. Did you use anything fancy in your port? How did it impact the compiler/interpreter? (I know folks get frustrated with lua limit to either float or int values for numbers for example.)
Thanks in advance for your thoughts. I found the webpage for the wren author, have not reached out to him yet. He does have a free book on his site which might be instructive.
DrC 

Brian Slesinsky

unread,
Mar 7, 2024, 12:22:37 PM3/7/24
to wren...@googlegroups.com

On Thu, Mar 7, 2024, 8:41 AM george crombie <drgeoc...@gmail.com> wrote:
One area of concern for me is the types in wren.

I think you might be looking for a different language.

Like many scripting languages, Wren doesn't have a static type system. It's something many people want these days (including me) but that would be a different language.

(For much more popular languages, it's worth retrofitting, but not for an obscure language like Wren. Not much Wren code exists.)


Reply all
Reply to author
Forward
0 new messages