luacheck VS love

Compare luacheck vs love and see what are their differences.

luacheck

A tool for linting and static analysis of Lua code. (by mpeterv)

love

LÖVE is an awesome 2D game framework for Lua. (by love2d)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
luacheck love
14 258
1,864 4,341
- 5.9%
0.0 9.6
over 1 year ago 7 days ago
Lua C++
MIT License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

luacheck

Posts with mentions or reviews of luacheck. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-10.
  • strict.lua
    4 projects | /r/lua | 10 May 2023
    Not directly related, but luacheck can also help with this.
  • Lua is eye candy
    1 project | /r/love2d | 5 Oct 2022
    Yeah. While you're at it, make a habit of running luacheck on your files as it helps catch a lot of these issues that can sneak in by mistake: https://github.com/mpeterv/luacheck
  • Help me reload my lua config! :)
    4 projects | /r/neovim | 22 Sep 2022
    Using something like https://github.com/mpeterv/luacheck might be helpful too. Will check all the files in a directory and will let you know which one might be problematic.
  • Lsp: Execute callback after server initialized
    2 projects | /r/neovim | 3 Sep 2022
    I'm trying to setup luacheck (via null-ls) to run alongside sumneko-lua (via nvim-lspconfig).
  • A History of Lua
    14 projects | news.ycombinator.com | 10 Aug 2022
    Most of the time nothing is used. The thing is that iterating is so quick, that you find the problems really fast.

    Although, I've been using luacheck https://github.com/mpeterv/luacheck. It is quite nice, but you have to write down the global variables by hand on the config file.

  • Writing a neovim plugin. Please send criticisms to make the code better
    6 projects | /r/neovim | 18 Jun 2022
    Check out luacheck. It can help spot typos or mistakes you've made and warn against anti-patterns. I'd honestly only look into setting it up locally because there's no benefit to putting it in a CI pipeline unless you have one for another reason IMO. This should be all the config you need:
  • Modding Help - Error Diagnosis
    1 project | /r/theriftbreaker | 9 Feb 2022
  • GitHub Successors
    1 project | news.ycombinator.com | 6 Jan 2022
    Sadly the scenario that the successor feature is intended to alleviate has very much become reality. The creator of Luacheck (Peter Melnichenko) passed away a couple of years ago, and ever since then the GitHub repository has been in a state of limbo. Multiple unofficial forks have come and gone, but Peter's is still the first result on Google if you search "luacheck". It isn't even possible to change the README or pin an issue to get people's attention about the fork; to this day people are still posting issues to the old repo.

    And Luacheck is "the" Lua static analysis tool that pretty much everyone uses, so it's a very significant issue.

    https://github.com/mpeterv/luacheck/issues/198

  • Kind of define in lua
    2 projects | /r/lua | 5 Jan 2022
    You are probably right, but luacheck is well aware of which global variables are built-in and it has special comments, such as -- no global or --ignore in case you very want to overwrite them.
  • Is it ok to name a function for example "function self:Example() end" or is it a big mistake? And how to find (directory) location of a function?
    2 projects | /r/lua | 30 Nov 2021
    Calling your function self is as much bad practice as calling it print. Use luacheck to avoid such mistakes.

love

Posts with mentions or reviews of love. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-17.
  • Ask HN: Yo wants to build a game, I'm lost. What can I do?
    20 projects | news.ycombinator.com | 17 Jan 2024
    I've built a few games with my son over the years. The fun part for us was all about fast iteration, and then laughing at the bugs together.

    There are some other recommendations here for how to approach 3d, and he is specifically asking for 3d -- but I want to put in one more pitch for 2d: the fun-to-tedium ratio can be much higher.

    I wonder if you could spend some time prototyping some of his ideas in LÖVE https://love2d.org/ -- if you show him the smallest sketch of something working, he might have an idea about what to add next.

    Many years ago, on a flight, we went from 0 to game before we landed (with no experience).

  • Show HN: A variant of Conway's Game of Life in color you can run on your phone
    1 project | news.ycombinator.com | 13 Jan 2024
    * When a cell is born it randomly takes on the color of one of its (3) parents.

    To try it out:

    1. Install LÖVE for your device from https://love2d.org (~5MB and open source). (iOS requires building from source on a Mac, or installing the third-party Love2D Studio: https://love2d-studio.marknoteapp.com)

    2. Install my Lua Carousel from https://akkartik.itch.io/carousel (~100KB). It includes all its source code and can be edited live on a computer as it runs.

    3. Copy the ~100 lines of code from the bottom of https://akkartik.itch.io/carousel/devlog/651711/new-version-after-9-days and paste them into Lua Carousel.

  • Gearing up for Lua
    3 projects | dev.to | 1 Jan 2024
    Probably the most important piece of software we'll be playing around with is a game engine called LÖVE. Lua is well known around developer circles as being a good scripting language when it comes to making games, and this engine is one of the more popular. I'll be going through installation at the end of this post.
  • Original Sling'n'shoot Worms Game
    4 projects | news.ycombinator.com | 28 Dec 2023
    I got it – these are the steps I took:

    1. Download Love from https://love2d.org/

  • Can't make my mind about which engine to use
    2 projects | /r/gamedev | 10 Dec 2023
    libGDX is great, but I can understand if it's not for some people. This also applies to love2d, raylib and Monogame
  • How Do I Compile/Install Love 0.10.2 on Linux?
    2 projects | /r/love2d | 7 Dec 2023
    You don't need to use git if you don't want to. Try downloading the 0.10.2 source directly here (the file you want is love-0.10.2-linux-src.tar.gz); I see you've tried this already but try again just to see what happens. Extract it to a directory (e.g. love-0.10.2-linux-src) and then run:
  • Not only Unity...
    53 projects | /r/opensourcegames | 11 Nov 2023
    Love2d (MIT/C++/Lua) https://github.com/love2d/love
  • Ask HN: Released games built on FOSS engines?
    12 projects | news.ycombinator.com | 17 Oct 2023
    - Löve (doesn't have a separate page, but showcases a few games at the bottom of the page): https://love2d.org
  • How to have the coolest booth at a tech conference 🕹👾
    3 projects | dev.to | 3 Oct 2023
    The game, Wasp Escape, was built using the open-source Löve 2D game library for Lua.
  • I want to make a game but I'm scared...
    3 projects | /r/gamedev | 15 Sep 2023
    love2d (lua) is a productive, fun, good docs, and most importantly proven / field-tested 2d game library, with easy to learn fast to compile and fast to run language - lua. while lua might not have a lot of features as python, the big bonus is that its much more focused language, which is important because otherwise you can get easily distracted on bells and whistles that other programming languages provide, i know that from experience

What are some alternatives?

When comparing luacheck and love you can also consider the following projects:

lua-language-server - A language server that offers Lua language support - programmed in Lua

raylib - A simple and easy-to-use library to enjoy videogames programming

StyLua - An opinionated Lua code formatter

Godot - Godot Engine – Multi-platform 2D and 3D game engine

LuaFormatter - Code formatter for Lua

MonoGame - One framework for creating powerful cross-platform games.

luau - A fast, small, safe, gradually typed embeddable scripting language derived from Lua

Godot Card Game Framework - A framework which comes with prepared scenes and classes to kickstart your card game, as well as a powerful scripting engine to use to provide full rules enforcement.

NvChad - Blazing fast Neovim config providing solid defaults and a beautiful UI, enhancing your neovim experience.

TIC-80 - TIC-80 is a fantasy computer for making, playing and sharing tiny games.

NvChad - An attempt to make neovim cli as functional as an IDE while being very beautiful , blazing fast. [Moved to: https://github.com/NvChad/NvChad]

bevy - A refreshingly simple data-driven game engine built in Rust