Wich scripting language for OSDK ?
Posted: Thu Oct 18, 2018 12:24 pm
I am currently working on an Oric IDE, with the idea to make it cross-platform one day (because some people prefer Linux or MacOS).
As you may noticed, I am in Delphi/pascal dev, and I started the project in Lazarus that is cross-platform.
Script plugins will, for sure, be very important, it makes things quick to change, adapt, fix and brings modularity and flexibility...
More over, all the little utilities could be rewritten in such a scripting language.
DOS Batch has the inconvenient :
- to be only DOS/Windows compatible.
- It's ugly to maintain, it lacks procedures and functions in order to create some libraries.
What scripting language could be used instead ? There are a few candidates :
- Pascal script : very well supported in the lazarus environment, it is object oriented, and everything is possible. This script language is very "readable", but the drawback is that Oricians seems to prefer C or BASIC kinds of language. Major problem : it is not well documented.
- Python, interesting, widely adopted but difficult to embed.
- Lua, easily embedable, well documented.
- yabasic : well documented, BASIC syntax, fast learning curve, only for Windows and Linux
- nubscript : well documented, BASIC syntax, fast learning curve, binaries for Linux. Difficult to build for windows (I managed do do it, but it was so painfull), same for MacOS (sources : https://github.com/eantcal/nubscript)
- Linux shell : Works with Windows 10 (https://www.howtogeek.com/249966/how-to ... indows-10/ )
- PowerShell : Windows, MacOS and Linux (https://github.com/PowerShell/PowerShell)
I would like to have your thoughts about this, what would you choose ?
As you may noticed, I am in Delphi/pascal dev, and I started the project in Lazarus that is cross-platform.
Script plugins will, for sure, be very important, it makes things quick to change, adapt, fix and brings modularity and flexibility...
More over, all the little utilities could be rewritten in such a scripting language.
DOS Batch has the inconvenient :
- to be only DOS/Windows compatible.
- It's ugly to maintain, it lacks procedures and functions in order to create some libraries.
What scripting language could be used instead ? There are a few candidates :
- Pascal script : very well supported in the lazarus environment, it is object oriented, and everything is possible. This script language is very "readable", but the drawback is that Oricians seems to prefer C or BASIC kinds of language. Major problem : it is not well documented.
- Python, interesting, widely adopted but difficult to embed.
- Lua, easily embedable, well documented.
- yabasic : well documented, BASIC syntax, fast learning curve, only for Windows and Linux
- nubscript : well documented, BASIC syntax, fast learning curve, binaries for Linux. Difficult to build for windows (I managed do do it, but it was so painfull), same for MacOS (sources : https://github.com/eantcal/nubscript)
- Linux shell : Works with Windows 10 (https://www.howtogeek.com/249966/how-to ... indows-10/ )
- PowerShell : Windows, MacOS and Linux (https://github.com/PowerShell/PowerShell)
I would like to have your thoughts about this, what would you choose ?