Lua 5.5 as a second programming language. The Russian course contains 27 lessons and assumes familiarity with functions, conditionals, loops, and collections.
- Discuss the project on Telegram: https://t.me/hexletcommunity/12
# setup
make
# run
make compose
# check
make ci-check
# run tests
make compose-test
# run linters and validators
make compose-code-lint
make compose-description-lint
make compose-schema-validateThe image builds Lua 5.5.1 from its pinned official release commit. Luacheck runs separately on Debian's Lua 5.4 and checks the syntax shared by both versions.
The exercises use Lua's built-in assertions. To run their tests without Docker, install Lua 5.5 and run the following command from this repository.
make local-testIf another Lua version is the default, select the 5.5 interpreter explicitly.
make local-test LUA_BIN=/path/to/lua5.5Solutions live in index.lua. The platform removes the region between -- BEGIN and -- END to prepare the learner's starter code. Function exercises keep a final return outside that region, so the tests can load and call the submitted function. Tests use the shared helper in lib/test_helper.lua through bin/test.sh. The modules exercise also includes a ready-to-use pricing.lua fixture.
This repository is created and maintained by the team and the community of Hexlet, an educational project. Read more about Hexlet.
