[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua program structure
- From: Sean Conner <sean@...>
- Date: Mon, 30 May 2022 01:03:01 -0400
It was thus said that the Great Duke Normandin once stated:
> Is there a recommended structure?
> Functions first?
> Then "main" program body?
> Is a "main" function necessary/recommended?
> Anything else?
There is no prescribed way to do it, but if you want to see an example, I
do have a gopher server you can look at:
https://github.com/spc476/port70/blob/master/port70.lua
This is the main entry point to the server.
-spc