👨‍💻 about me home CV/Resume 🖊️ Contact Github LinkedIn I’m a Haskeller 📝 Blog Freedom, privacy, tutorials… 🏆 Best of Fizzbuzz LuaX Calculadoira panda upp Haskell todo pwd TPG Nextcloud Git

#BoycottQatar2022   ┇   Why everyone should boycott the World Cup in Qatar

🆕 since August 2022: LuaX is a Lua eXtended interpretor/cross compiler providing a bunch of useful modules (statically linked, no dependency). Nice integration with upp (new functions and modules available to extend upp macros) and also with a soon released but yet confidential project about actor oriented programming!
💣 Kick GAFAMs out (✔️ ǝlƃooפ, ✔️ ʞooqǝɔɐℲ, ✔️ uozɐɯ∀): Stop giving our soul and money to evils, be free and respectful!
📰 Friday 2. April 2021: upp is a panda companion. It’s a Lua-scriptable lightweight text preprocessor.
🆕 since December 2020: Playing with the actor model in an embedded multicore context. C imperative components become C stream pure functions with no side effect ➡️ C low level programming with high level pure functional programming properties 🏆
📰 Saturday 30. January 2021: Playing with Pandoc Lua filters in Lua. panda is a lightweight alternative to abp providing a consistent set of Pandoc filters (text substitution, file inclusion, diagrams, scripts, …).
🆕 Sunday 24. May 2020: Working at EasyMile for more than 5 years. Critical real-time software in C, simulation and monitoring in Haskell ➡️ perfect combo! It’s efficient and funny ;-)

LuaX: Lua eXtended

Christophe Delord - http://cdelord.fr/luax

linenoise: light readline alternative

linenoise is a small self-contained alternative to readline and libedit.

Warning: linenoise has not been ported to Windows. The following functions works on Windows but are stubbed using the Lua io module when possible. The history can not be saved on Windows.

linenoise.read(prompt)

prints prompt and returns the string entered by the user.

linenoise.read_mask(prompt)

is the same as linenoise.read(prompt) but the characters are not echoed but replaced with *.

linenoise.add(line)

adds line to the current history.

linenoise.set_len(len)

sets the maximal history length to len.

linenoise.save(filename)

saves the history to the file filename.

linenoise.load(filename)

loads the history from the file filename.

linenoise.clear()

clears the screen.

linenoise.multi_line(ml)

enable/disable the multi line mode (enabled by default).

linenoise.mask(b)

enable/disable the mask mode.