aardappel / lobster

The Lobster Programming Language
http://strlen.com/lobster
2.25k stars 119 forks source link

Console input? #195

Closed 0xEquinox closed 1 year ago

0xEquinox commented 2 years ago

Is there user input for the console implemented for lobster yet? I can't find it anywhere in the docs or in the stdl.

aardappel commented 2 years ago

There is:

get_line(prefix:string) -> string | reads a string from the console if possible (followed by enter). Prefix will be printed before the input -- | --
aardappel commented 2 years ago

That is pretty minimal.. but I guess for a language focused on games that was all that was ever needed :)