In my (relative) youth I spent a lot of time writing models in Fortran, mainly in the mathematics, physics and statistics modelling areas.
I soon found that cross referencing and layout tools were very useful, particularly Forcheck that checks arguments, line numbers where identifiers are used and other things and SPAG, which turns hack-written additions to code into something more readable so I could see what the call tree looked like, tidy the code where appropriate and quickly navigate to a particular area.
Pretty-printing is not such a problem as an indented block structure layout is an immediate guide to following the code but cross referencing is not so easy and I frequently revert to drawing a map on paper.
Apart from luacheck, which helps with declarations and mismatching of type, I have found little to help with Lua so I spend rather too much time trying to remember things when it is already in the code or check where a particular variable is mentioned. I use UltraEdit from IDM as an editor (on Windows although all code is run on Linux) and that has a wordfile for Lua and good search facilities but I still hanker after better tools.
Does anyone have a favourite tool set?
I soon found that cross referencing and layout tools were very useful, particularly Forcheck that checks arguments, line numbers where identifiers are used and other things and SPAG, which turns hack-written additions to code into something more readable so I could see what the call tree looked like, tidy the code where appropriate and quickly navigate to a particular area.
Pretty-printing is not such a problem as an indented block structure layout is an immediate guide to following the code but cross referencing is not so easy and I frequently revert to drawing a map on paper.
Apart from luacheck, which helps with declarations and mismatching of type, I have found little to help with Lua so I spend rather too much time trying to remember things when it is already in the code or check where a particular variable is mentioned. I use UltraEdit from IDM as an editor (on Windows although all code is run on Linux) and that has a wordfile for Lua and good search facilities but I still hanker after better tools.
Does anyone have a favourite tool set?