Notices tagged with lua, page 2
-
LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} (lnxw48a1@nu.federati.net)'s status on Monday, 03-Feb-2020 06:31:15 UTC LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} I’m bumbling through “Lua Quick Start Guide” and a couple of online #Lua introductions / tutorials. Usually at the same time. So when I want to go on to the next one, I want to type the equivalent of #Tcl’s
set variables [info vars]
So I can iterate through them and delete them (or set them to nil in Lua parlance). But in the resources I’ve looked at so far, that seems not to be a thing in the Lua world. -
LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} (lnxw48a1@nu.federati.net)'s status on Saturday, 01-Feb-2020 18:48:33 UTC LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} I’ve been doing some very introductory tutorials for #Lua. It seems pretty interesting. I don’t think it will displace #Tcl and #Python as my favorite scripting languages, but it could become the third in the set.
Seeing that tables (which are dictionaries—associative arrays—that can also act as regular arrays if numeric keys are used) are the only data structure, it sort of twists my mind into contortions trying to imagine how to structure certain kinds of data. That’s good, IMO, because history (took classes decades ago on BASIC, COBOL, Pascal, C, C++, Java, ...) predisposes me to look for arrays and records (or objects that encapsulate records) as the building blocks.
I’ve also downloaded (but not yet installed) #Erlang and #Elixir for Windows. -
LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} (lnxw48a1@nu.federati.net)'s status on Tuesday, 21-Jan-2020 05:57:37 UTC LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} Found another old prepaid VISA gift card, but it's been so long that I can't read the expiration date (and therefore, cannot check to see how much is available to spend, if any). I'll take it with me the next time I visit a store and try to pay some or all of the price with it.
Now, I'm going to put away #Tcl, #Lua, and #Jsish, and go to bed. I took a couple of sips of sleep enhancer, so I'm hoping to get lots of rest tonight. -
LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} (lnxw48a1@nu.federati.net)'s status on Wednesday, 15-Jan-2020 06:21:47 UTC LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} Recently (not today, but close enough), I've been reading about #Lua and fiddling with "tables" which are dictionaries (other languages may use the terms "dict", "dictionary", "hash", "associative array" for similar concepts). -
LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} (lnxw48a1@nu.federati.net)'s status on Sunday, 12-Jan-2020 04:08:18 UTC LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} Considering a #JavaScript implementation for a couple of little things I'm working on. This one: https://jsish.org/fossil/jsi/doc/ckout/md/Home.md
(Also considering #Lua and !tcltk. Maybe I'll start with all three and see which one gets farther faster.) -
LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} (lnxw48a1@nu.federati.net)'s status on Friday, 15-Mar-2019 05:40:48 UTC LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} @bthall @amic The #Prosody #XMPP server software is written in #Lua. -
Rain 🚱 (grainloom@cybre.space)'s status on Thursday, 14-Dec-2017 08:17:26 UTC Rain 🚱 so,
#Lua 51 has 21 reserved words
#CPP has 93 (+ macros)
make of that what you wish -
Erkan Yılmaz (erkan@fediverse.com)'s status on Saturday, 31-Jan-2015 12:15:59 UTC Erkan Yılmaz in ca. 2h: " #Haka is an open source, #security oriented, language and framework that allows to analyze live (or captured) traffic and easily dissect and modify it." #lua !fosdem https://fosdem.org/2015/schedule/event/haka/