Yuescript
IntelliJ-Luanalysis
Yuescript | IntelliJ-Luanalysis | |
---|---|---|
7 | 11 | |
410 | 145 | |
- | - | |
8.7 | 5.0 | |
8 days ago | 6 months ago | |
C++ | Kotlin | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Yuescript
-
Why Fennel?
I'm a big fan of moonscript, but occasionally wish it was still be improved and worked on. Yuescript¹ looks like it fixes most of my bugbears with moonscript, and it is largely a faster² drop-in replacement.
There was s little discussion here ~18 months ago³, but it will largely circular if you look as people are suggesting fennel there ;)
¹ https://github.com/pigpigyyy/Yuescript
² This probably only matters if you have tonnes of moonscript, not just a little neovim/mpv/awesomewm config or something.
³ https://news.ycombinator.com/item?id=29903133
-
Using other languages
There's also some languages made to compile straight to Lua: - MoonScript is the most popular Lua wrapper - it's built to be more Python-like, featuring indentation-based scopes, function calls without parentheses, lambda syntax, list comprehension, and much more. - Yuescript is a modern update to MoonScript that adds more features (I haven't used it myself, so I'm not entirely sure exactly how it differs from MS). - Teal is a version of Lua that adds static typing for better code standards.
- data types in function definition
-
Lua, a Misunderstood Language
Yes, this is unfortunately true.
There's a spiritual successor: https://yuescript.org/
-
I've designed a re-imagined version of the Lua logo and some other Lua flavors just for fun, what do you guys think?
Yuescript in yellow
-
100 Languages Speedrun: Episode 90: YueScript
What I didn't know about is that its fork YueScript is actively maintained, and with some extra features.
-
Trying to move to Emacs again
I've put together a Lua config with Neovim, but it was still kind of obnoxious to put together. Lua isn't that great of a language, because people seem to forget it's an embed-able language for a reason (it's not supposed to give you tons of features). Using something that makes some of your more complex problems easier like Moonscript or Yuescript can make things more complex in regards to your configuration.
IntelliJ-Luanalysis
-
Microsoft DeviceScript – TypeScript for Tiny IoT Devices
Because of compile-time type safety / static analysis. And I say this as the author of an IDE that bolts those features onto Lua: https://github.com/Benjamin-Dobell/IntelliJ-Luanalysis
-
Nelua, AOT statically typed Lua
I want to start adding support for Lua derivatives to my IDE (which adds static type checking to Lua - inference, structural & nominal types, generics etc. (Luanalysis - https://github.com/Benjamin-Dobell/IntelliJ-Luanalysis/)
I feel like plugin support would be best but I've no idea how that's supposed to work in the presence of a predefined grammar. There's also so many variants I don't think there's a good way to build composite grammar.
Does anyone have any ideas about how to extend language parsing? For reference, I'm using https://github.com/JetBrains/Grammar-Kit.
- Show HN: Luanalysis – Statically type checked Lua IDEA
-
Lua, a Misunderstood Language
There's also my IDE which just bolts on types (both structural and nominal) to regular Lua - no transpiling as the types are defined with comments (or inferred).
https://github.com/Benjamin-Dobell/IntelliJ-Luanalysis/
Unfortunately, I haven't been able to give it as much attention as it deserves recently.
-
A History of Lua
What do you mean by no lambdas exactly? Lua supports anonymous functions and those functions capture variables from their outer scope.
I use functional programming extensively in Lua also. Could you elaborate on what it doesn't permit?
Integers were introduced in 5.3.
Assigning operators? It has metatables, you can absolutely implement your own operators.
If you want static typing you can use my IDE: https://github.com/Benjamin-Dobell/IntelliJ-Luanalysis/
Granted, my IDE is incredibly opinionated and not for everyone.
Also, Lua is not my favourite language to use, doesn't even make top 3. However, the robustness of its design, considering its simplicity, is incredibly elegant.
- Lua code
-
Luanalysis v1.3.0 Released - Statically typed Lua IDE
Anyway, you can find screenshots in the project's README on Github: https://github.com/Benjamin-Dobell/IntelliJ-Luanalysis
-
Ask HN: Who wants to be hired? (June 2021)
Location: Melbourne, Australia
Remote: Yes
Willing to relocate: Yes (Post-Covid)
Technologies: Kubernetes, AWS, TypeScript, Ruby, React. Polyglot, refer to résumé.
Résumé/CV: https://drive.google.com/file/d/1VJk9gs1-LN3e333ZDICwkG5pgTb...
Email: [email protected]
Github: https://github.com/Benjamin-Dobell/
LinkedIn: https://www.linkedin.com/in/benjamindobell/
Current Role: CTO @ Snaploader
Salary Expectation: $200,000+ USD
These days I describe myself as a full-stack developer, but I’ve also plenty of professional experience with mobile (native + React Native), infrastructure, ops, game development, tooling and reverse engineering. In my free time I also tinker with embedded systems. I’m an avid open source contributor, but also maintain many of my own open-source projects e.g. a Lua IDE which statically type checks Lua (https://github.com/Benjamin-Dobell/IntelliJ-Luanalysis).
I’ve 12+ years of development experience, the last six years I’ve been CTO of Snaploader, a small start-up in Australia which turns floor-plans and CAD drawings into real-time rendered 3D buildings that run in your browser (including mobile). HQ is interstate, thus the role has always been near 100% remote. There’s a team of 20+ 3D artists and sales, but development is a one man show. So I’m responsible for a pretty absurd amount.
I also occasionally take on casual consulting gigs, which typically come about from my open source contributions. Currently I’m consulting for Berserk Games. I work on their Lua language bindings, public API documentation, networking and tooling for the (user content centric) game Tabletop Simulator (Unity/C#). I also help out their developer community with support, libraries, documentation and example projects i.e. developer advocacy.
Please do peruse my Github. I’m after something senior where I can take some ownership, but ideally also contribute across a breadth of projects/technologies.
-
Building a Personal Website in 2021
Me: Okay. I'm just going to prototype a game. Don't want to get carried away. I won't even write a game engine. I'll use Tabletop Simulator.
Friend: Sounds good. How's it going?
Me: Well. I needed to be able to debug my code. https://github.com/tts-community/moonsharp-tts-debug
Friend: Oh, neat. So your game is done now?
Me: Not exactly. I had to had in matchmaking by reverse engineering Steam. https://github.com/SteamRE/SteamKit/pull/704
Friend: Ah. Alright. Can I play it now?
Me: Nah, I was finding it hard to maintain code. I wrote a Lua code bundler. https://github.com/Benjamin-Dobell/luabundle
Friend: Sweet.
Me: Yeah, but I decided to integrate it into the official tooling. https://github.com/Berserk-Games/atom-tabletopsimulator-lua/...
Friend: I'm sure the community will be thankful.
Me: I hope so. I now run a small community of TTS developers. https://github.com/tts-community/
Friend: Right. You must be done by now.
Me: Nah, I couldn't statically type check my code. So I wrote some types. https://github.com/Benjamin-Dobell/tts-types
Friend: Seems unnecessary for a prototype, but sure.
Me: I had to write my own IDE to use them though. https://github.com/Benjamin-Dobell/IntelliJ-Luanalysis
Friend: Right... So how'd the game going then?
Me: Oh, I'm not doing that anymore. I now consult for Berserk Games, developers of Tabletop Simulator
Friend: ...
-
Scripting Editor Window literally pulled Off-Screen - cannot get it back
Atom (most basic), Vscode with emmylua (debugging) and tabletop simulator lua, or Intellij with luanalysis (type safety). all are really good depending on your use case. I have never used the scripting window, even for simple scripts.
What are some alternatives?
moonscript - :crescent_moon: A language that compiles to Lua
IntelliJ-EmmyLua - Lua IDE/Debugger Plugin for IntelliJ IDEA
kakoune - mawww's experiment for a better code editor
hugo-blox-builder - 😍 EASILY BUILD THE WEBSITE YOU WANT - NO CODE, JUST MARKDOWN BLOCKS! 使用块轻松创建任何类型的网站 - 无需代码。 一个应用程序,没有依赖项,没有 JS
emacs-pure
tts-types - Tabletop Simulator EmmyLua types.
open-builder - Open "Minecraft-like" game with multiplayer support and Lua scripting support for the both client and server
moonsharp - Enhanced MoonSharp for improved Tabletop Simulator mod development
dotemacs - My Emacs configuration
moonsharp - An interpreter for the Lua language, written entirely in C# for the .NET, Mono, Xamarin and Unity3D platforms, including handy remote debugger facilities.
forkleft - Fegeya Forkleft, C++ implementation of ~new generation~ mark-up language.
Heimdall - Heimdall is a cross-platform open-source tool suite used to flash firmware (aka ROMs) onto Samsung Galaxy devices.