Translate Lua 5.4.8 habits into Musi's expression, data, effect, and package model.
Chapters
Musi for Lua Developers
Chapter»OverviewUse this guide when Lua habits make Musi feel surprising.Chapter»Values, Locals, and ExpressionsTranslate the Lua habit, then use the Musi Book for the full rule.Chapter»Functions, Closures, and Named CallsTranslate the Lua habit, then use the Musi Book for the full rule.Chapter»Blocks, Branching, and RepetitionTranslate the Lua habit, then use the Musi Book for the full rule.Chapter»Tables, Records, and Field UpdatesTranslate the Lua habit, then use the Musi Book for the full rule.Chapter»Arrays, Sequences, Maps, and PipelinesTranslate the Lua habit, then use the Musi Book for the full rule.Chapter»Nil, Option, and ResultTranslate the Lua habit, then use the Musi Book for the full rule.Chapter»Errors, Pcall, and EffectsTranslate the Lua habit, then use the Musi Book for the full rule.Chapter»Coroutines and Effect BoundariesTranslate the Lua habit, then use the Musi Book for the full rule.Chapter»Metatables, Classes, Instances, and LawsTranslate the Lua habit, then use the Musi Book for the full rule.Chapter»Pattern Matching and Data VariantsTranslate the Lua habit, then use the Musi Book for the full rule.Chapter»Modules, Imports, and ExportsTranslate the Lua habit, then use the Musi Book for the full rule.Chapter»Testing and ToolingTranslate the Lua habit, then use the Musi Book for the full rule.Chapter»Embedding, C API, and FFITranslate the Lua habit, then use the Musi Book for the full rule.