Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 2 of 2

Thread: REPL on the Teensy 3.6 ?

  1. #1

    REPL on the Teensy 3.6 ?

    Hi,

    I am looking for a REPL-enabled programming "environment" (is word is to big for that and my knowledge of the english language is too small... ) for the Teensy 3.6, so that you can connect to the Teensy 3.6 and get a terminal prompt and can play with code snippest and such. Best would be, if it would be possible to flash programs onto the Teensy 3.5 additionally, which are written in the related language. So it should be an interpreter language (and in my wildest dreams a homoiconic one like LISP or TCL or in some degree FORTH).


    Is there something like that out there in the wild, which is not FORTH or circuit Python/Python ?
    TCL would be very nice but I didn't find any ... Lua may be (also didn't find a Teensy-Lua...)?

    Thanks a lot for any help in advance!

    Cheers!
    Meino

  2. #2
    Senior Member
    Join Date
    May 2015
    Location
    San Francisco
    Posts
    177
    I packaged a teensy compatible library that provides version of Lua with basic REPL. It's really just a proof of concept now, but might be useful to you. Happy to put a little more work into it if folks are interested...

    https://github.com/blackketter/LuaArduino

    I'm also working on a console library for my own projects that provides a framework for implementing commands as C++ objects and some very basic scripting. It's not documented at all, but likewise, I'd be happy to package it up more if anybody finds it interesting:

    https://github.com/blackketter/Console

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •