Repository navigation
Expand file tree
/
Copy pathlearn-lua-offline-android.html
More file actions
1488 lines (1421 loc) · 108 KB
/
Copy pathlearn-lua-offline-android.html
File metadata and controls
1488 lines (1421 loc) · 108 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0, viewport-fit=cover">
<meta name="theme-color" content="#090A0F">
<meta name="color-scheme" content="only dark">
<meta name="supported-color-schemes" content="dark">
<meta name="robots" content="index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1">
<title>Learn Lua Offline on Android | SuperCode</title>
<meta name="description" content="Learn Lua programming offline on your Android phone or tablet. Zero login required — includes 8 runnable Lua examples, live io.read() input, .">
<meta name="author" content="Phoenix Global Studios">
<meta name="google-play-app" content="app-id=com.phoenixglobal.supercodeeditor">
<link id="canonical-link" rel="canonical" href="https://supercodeide.app/learn-lua-offline-android.html">
<link rel="alternate" hreflang="x-default" href="https://supercodeide.app/learn-lua-offline-android.html">
<link rel="alternate" hreflang="en" href="https://supercodeide.app/learn-lua-offline-android.html">
<link rel="alternate" hreflang="zh-Hans" href="https://supercodeide.app/zh/learn-lua-offline-android.html">
<link rel="alternate" hreflang="zh-Hant" href="https://supercodeide.app/zh-tw/learn-lua-offline-android.html">
<link rel="alternate" hreflang="es" href="https://supercodeide.app/es/learn-lua-offline-android.html">
<link rel="alternate" hreflang="pt-BR" href="https://supercodeide.app/pt/learn-lua-offline-android.html">
<link rel="alternate" hreflang="ja" href="https://supercodeide.app/ja/learn-lua-offline-android.html">
<link rel="alternate" hreflang="ko" href="https://supercodeide.app/ko/learn-lua-offline-android.html">
<link rel="alternate" hreflang="de" href="https://supercodeide.app/de/learn-lua-offline-android.html">
<link rel="alternate" hreflang="fr" href="https://supercodeide.app/fr/learn-lua-offline-android.html">
<link rel="alternate" hreflang="ru" href="https://supercodeide.app/ru/learn-lua-offline-android.html">
<link rel="alternate" hreflang="hi" href="https://supercodeide.app/hi/learn-lua-offline-android.html">
<link rel="alternate" hreflang="id" href="https://supercodeide.app/id/learn-lua-offline-android.html">
<link rel="alternate" hreflang="it" href="https://supercodeide.app/it/learn-lua-offline-android.html">
<link rel="alternate" hreflang="vi" href="https://supercodeide.app/vi/learn-lua-offline-android.html">
<link rel="alternate" hreflang="th" href="https://supercodeide.app/th/learn-lua-offline-android.html">
<link rel="alternate" hreflang="tr" href="https://supercodeide.app/tr/learn-lua-offline-android.html">
<link rel="alternate" hreflang="ar" href="https://supercodeide.app/ar/learn-lua-offline-android.html">
<link rel="alternate" hreflang="pl" href="https://supercodeide.app/pl/learn-lua-offline-android.html">
<link rel="alternate" hreflang="nl" href="https://supercodeide.app/nl/learn-lua-offline-android.html">
<link rel="alternate" hreflang="sv" href="https://supercodeide.app/sv/learn-lua-offline-android.html">
<link rel="alternate" hreflang="nb" href="https://supercodeide.app/nb/learn-lua-offline-android.html">
<link rel="alternate" hreflang="da" href="https://supercodeide.app/da/learn-lua-offline-android.html">
<link rel="alternate" hreflang="fi" href="https://supercodeide.app/fi/learn-lua-offline-android.html">
<link rel="alternate" hreflang="cs" href="https://supercodeide.app/cs/learn-lua-offline-android.html">
<link rel="alternate" hreflang="uk" href="https://supercodeide.app/uk/learn-lua-offline-android.html">
<link rel="alternate" hreflang="ro" href="https://supercodeide.app/ro/learn-lua-offline-android.html">
<link rel="alternate" hreflang="hu" href="https://supercodeide.app/hu/learn-lua-offline-android.html">
<link rel="alternate" hreflang="el" href="https://supercodeide.app/el/learn-lua-offline-android.html">
<link rel="alternate" hreflang="he" href="https://supercodeide.app/he/learn-lua-offline-android.html">
<link rel="alternate" hreflang="ms" href="https://supercodeide.app/ms/learn-lua-offline-android.html">
<link rel="alternate" hreflang="fil" href="https://supercodeide.app/tl/learn-lua-offline-android.html">
<link rel="alternate" hreflang="bn" href="https://supercodeide.app/bn/learn-lua-offline-android.html">
<link rel="alternate" type="application/rss+xml" title="SuperCode IDE Guides & Releases" href="https://supercodeide.app/feed.xml">
<meta property="og:type" content="article">
<meta property="og:site_name" content="SuperCode IDE">
<meta property="og:title" content="Learn Lua Offline on Android | SuperCode">
<meta property="og:description" content="Learn Lua programming offline on your Android phone or tablet. Zero login required — includes 8 runnable Lua examples, live io.read() input, .">
<meta property="og:url" content="https://supercodeide.app/learn-lua-offline-android.html">
<meta property="og:locale" content="en_US">
<meta property="og:image" content="https://supercodeide.app/assets/media/og-js-lua.png">
<meta property="og:image:secure_url" content="https://supercodeide.app/assets/media/og-js-lua.png">
<meta property="og:image:type" content="image/png">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="og:image:alt" content="21-Key Symbol Bar & 8 Crafted IDE Themes">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:image" content="https://supercodeide.app/assets/media/og-js-lua.png">
<meta name="twitter:title" content="Learn Lua Offline on Android | SuperCode">
<meta name="twitter:description" content="Learn Lua programming offline on your Android phone or tablet. Zero login required — includes 8 runnable Lua examples, live io.read() input, .">
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
<link rel="icon" href="/favicon.ico" sizes="32x32">
<link rel="apple-touch-icon" href="/favicon.svg">
<script>if(/SamsungBrowser/i.test(navigator.userAgent)){document.documentElement.classList.add('is-samsung');}</script>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@graph": [
{
"@type": [
"SoftwareApplication",
"MobileApplication"
],
"@id": "https://supercodeide.app/#supercode-app",
"name": "Code Editor: SuperCode IDE",
"alternateName": [
"Learn Lua Offline App",
"Best Lua Editor for Android",
"Lua Code Formatter & PDF Export App"
],
"operatingSystem": "Android 8.0+, ChromeOS (Chromebook), Android XR",
"applicationCategory": "DeveloperApplication",
"applicationSubCategory": "Beginner Offline Lua Coding App, Formatter & PDF Homework Studio for Android",
"inLanguage": "en",
"fileSize": "45MB",
"softwareVersion": "1.55.11",
"installUrl": "https://play.google.com/store/apps/details?id=com.phoenixglobal.supercodeeditor&hl=en-US&listing=js-lua-coding",
"downloadUrl": "https://play.google.com/store/apps/details?id=com.phoenixglobal.supercodeeditor&hl=en-US&listing=js-lua-coding",
"sameAs": [
"https://play.google.com/store/apps/details?id=com.phoenixglobal.supercodeeditor",
"https://www.youtube.com/watch?v=C4AcQIV2sk4",
"https://github.com/supercode-ide/supercode-ide.github.io"
],
"potentialAction": [
{
"@type": "InstallAction",
"target": {
"@type": "EntryPoint",
"urlTemplate": "https://play.google.com/store/apps/details?id=com.phoenixglobal.supercodeeditor&hl=en-US&listing=js-lua-coding",
"actionPlatform": [
"http://schema.org/AndroidPlatform",
"http://schema.org/MobileWebPlatform"
]
}
},
{
"@type": "ViewAction",
"name": "App Guide",
"target": [
"https://supercodeide.app/tutorial/?lang=en",
"android-app://com.phoenixglobal.supercodeeditor/https/supercode-ide.github.io/tutorial"
]
}
],
"identifier": "com.phoenixglobal.supercodeeditor",
"url": "https://supercodeide.app/learn-lua-offline-android.html",
"screenshot": [
"https://supercodeide.app/assets/gallery/en/03_web_php_devtools.webp",
"https://supercodeide.app/assets/gallery/en/16_tablet_web_php_live.webp",
"https://supercodeide.app/assets/gallery/en/23_chromebook_web_php_live.webp",
"https://supercodeide.app/assets/gallery/en/30_xr_web_php_live.webp"
],
"author": {
"@id": "https://supercodeide.app/#organization"
},
"offers": {
"@type": "Offer",
"price": "0",
"priceCurrency": "USD",
"availability": "https://schema.org/InStock"
},
"featureList": [
"Zero login wall and 100% airplane-mode Lua 5.4.7 execution in ~400 microseconds",
"8 built-in runnable Lua starter scripts covering I/O, loops, tables, closures, metatables, and games",
"Live interactive io.read() split-screen console for real student exercises and text games",
"1-tap offline Lua code formatter for function/if/for/repeat blocks and nested table constructors",
"Real-time Error Radar syntax diagnostics plus 21-key touch symbol bar (.., ~=, #, {}, --)",
"Native syntax-highlighted A4 PDF export and built-in PDF Viewer for classroom assignments",
"Adaptive 3-pane workstation for Android Tablets, Chromebooks (ChromeOS), Android Desktop & Android XR with hardware keyboard shortcuts & LCD-calibrated themes",
"Offline Python local web backend server (http.server / Flask / Bottle on 127.0.0.1) with 1-tap WebRunActivity DevTools preview"
],
"image": "https://supercodeide.app/assets/media/og-js-lua.png",
"dateModified": "2026-12-02"
},
{
"@type": "BreadcrumbList",
"@id": "https://supercodeide.app/learn-lua-offline-android.html#breadcrumb",
"itemListElement": [
{
"@type": "ListItem",
"position": 1,
"name": "SuperCode IDE",
"item": "https://supercodeide.app/"
},
{
"@type": "ListItem",
"position": 2,
"name": "Lua 5.4 IDE Hub",
"item": "https://supercodeide.app/lua-ide.html"
},
{
"@type": "ListItem",
"position": 3,
"name": "Learn Lua Offline on Android",
"item": "https://supercodeide.app/learn-lua-offline-android.html"
}
]
},
{
"@type": "HowTo",
"name": "Start Coding in Lua on Android in Under 60 Seconds",
"description": "No configuration, SDK downloads, or terminal commands needed.",
"totalTime": "PT2M",
"step": [
{
"@type": "HowToStep",
"position": 1,
"name": "Open a Built-In Template or Create hello.lua",
"text": "Load one of the 8 built-in Lua examples to see how tables and functions work, or create a fresh .lua file.",
"url": "https://supercodeide.app/learn-lua-offline-android.html#step1"
},
{
"@type": "HowToStep",
"position": 2,
"name": "Type Fast With ~=, .., and Table Autocomplete",
"text": "Use the 21-key symbol bar and offline string./table./math. AST suggestions to write clean code without typos.",
"url": "https://supercodeide.app/learn-lua-offline-android.html#step2"
},
{
"@type": "HowToStep",
"position": 3,
"name": "Run Offline & Test Interactive io.read() Inputs",
"text": "Tap Run ▶ for instant output, answer console prompts live, and inspect clear line-numbered error hints if something fails.",
"url": "https://supercodeide.app/learn-lua-offline-android.html#step3"
},
{
"@type": "HowToStep",
"position": 4,
"name": "Auto-Format & Export A4 PDF Study Notes",
"text": "Tap Format to tidy your block indentation, then export a syntax-highlighted A4 PDF or push your progress to GitHub.",
"url": "https://supercodeide.app/learn-lua-offline-android.html#step4"
}
],
"inLanguage": "en"
},
{
"@type": "FAQPage",
"@id": "https://supercodeide.app/learn-lua-offline-android.html#faq",
"mainEntity": [
{
"@type": "Question",
"name": "Is Lua a good first programming language to learn on a phone?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Yes! Lua has only 22 reserved keywords and uses plain English words like `function`, `then`, `and`, `or`, and `end` instead of heavy punctuation — making it exceptionally fast to read and type on mobile."
}
},
{
"@type": "Question",
"name": "Does SuperCode work completely offline without creating an account?",
"acceptedAnswer": {
"@type": "Answer",
"text": "100%. There is no login screen, and the native Lua 5.4.7 engine, 8 starter templates, AST autocomplete, Lua formatter, and A4 PDF exporter all run offline in airplane mode."
}
},
{
"@type": "Question",
"name": "How do I type `~=` (not equal) and `..` (string concat) quickly on Android?",
"acceptedAnswer": {
"@type": "Answer",
"text": "SuperCode's touch coding bar sits right above your keyboard with dedicated Lua operators, brackets, indentation keys, and `--` comment toggles so you never dig through secondary symbol screens."
}
},
{
"@type": "Question",
"name": "Can I grow from beginner scripts to multi-file games or SQLite tools in the same app?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Yes. Whenever you're ready, you can split projects across folders with `require()`, use built-in `cjson` and `lsqlite3` modules, and push repositories via Visual Git."
}
}
],
"inLanguage": "en"
},
{
"@type": "Organization",
"@id": "https://supercodeide.app/#organization",
"name": "Phoenix Global Studios",
"url": "https://supercodeide.app/",
"logo": "https://supercodeide.app/favicon.svg",
"sameAs": [
"https://play.google.com/store/apps/details?id=com.phoenixglobal.supercodeeditor",
"https://www.youtube.com/watch?v=C4AcQIV2sk4",
"https://github.com/supercode-ide/supercode-ide.github.io"
]
}
]
}
</script>
<link rel="preload" as="style" href="assets/site.css?v=15520">
<link rel="stylesheet" href="assets/site.css?v=15520">
</head>
<body data-page="lua_learn">
<svg width="0" height="0" style="position:absolute" aria-hidden="true" focusable="false">
<symbol id="sc-logo" viewBox="20 14 68 72">
<path fill="#FFD700" d="M52,28 L56,28 L56,80 L52,80 Z"/>
<path fill="#FF4500" d="M48,54 L30,40 L30,46 L44,54 L30,62 L30,68 Z"/>
<path fill="#FF4500" d="M60,54 L78,40 L78,46 L64,54 L78,62 L78,68 Z"/>
<path fill="#FFF176" d="M54,22m-3,0a3,3 0,1 1,6 0a3,3 0,1 1,-6 0"/>
</symbol>
<symbol id="gp-prism" viewBox="0 0 24 24">
<path fill="#4285F4" d="M3.6,2.4C3.3,2.7,3.1,3.2,3.1,3.8v16.4c0,0.6,0.2,1.1,0.5,1.4l0.1,0.1L12.9,12v-0.2L3.7,2.3L3.6,2.4z"/>
<path fill="#34A853" d="M16,15.1l-3.1-3.1v-0.2L16,8.7l0.1,0.1l3.6,2.1c1,0.6,1,1.5,0,2.1l-3.6,2.1L16,15.1z"/>
<path fill="#FBBC05" d="M16.1,15.1L12.9,12L3.6,21.3c0.3,0.4,0.9,0.4,1.6,0.1L16.1,15.1z"/>
<path fill="#EA4335" d="M16.1,8.9L5.2,2.6C4.5,2.2,3.9,2.3,3.6,2.7L12.9,12L16.1,8.9z"/>
</symbol>
<symbol id="i-ne" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" d="M7 17L17 7M9 7h8v8"/></symbol>
<symbol id="i-arrow" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" d="M5 12h14M13 6l6 6-6 6"/></symbol>
<symbol id="i-cube" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.5" stroke-linejoin="round"><path d="M12 2.8 20 7.2v9.6L12 21.2 4 16.8V7.2z"/><path d="M4 7.2l8 4.4 8-4.4M12 11.6v9.6"/></g></symbol>
<symbol id="i-chip" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"><rect x="6" y="6" width="12" height="12" rx="2"/><rect x="9.5" y="9.5" width="5" height="5" rx="1"/><path d="M9 2.8v3.2M15 2.8v3.2M9 18v3.2M15 18v3.2M2.8 9H6M2.8 15H6M18 9h3.2M18 15h3.2"/></g></symbol>
<symbol id="i-layers" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.5" stroke-linejoin="round" stroke-linecap="round"><path d="M12 3 2.8 7.8 12 12.6l9.2-4.8z"/><path d="m2.8 12 9.2 4.8 9.2-4.8"/><path d="m2.8 16.2 9.2 4.8 9.2-4.8"/></g></symbol>
<symbol id="i-web" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect x="2.8" y="4" width="18.4" height="16" rx="2.5"/><path d="M2.8 8.5h18.4"/><path d="m9.5 12.5-2.2 2.2 2.2 2.2M14.5 12.5l2.2 2.2-2.2 2.2"/></g></symbol>
<symbol id="i-db" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.5"><ellipse cx="12" cy="5.6" rx="7.6" ry="2.8"/><path d="M4.4 5.6v12.8c0 1.55 3.4 2.8 7.6 2.8s7.6-1.25 7.6-2.8V5.6"/><path d="M4.4 12c0 1.55 3.4 2.8 7.6 2.8s7.6-1.25 7.6-2.8"/></g></symbol>
<symbol id="i-term" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect x="2.8" y="4" width="18.4" height="16" rx="2.5"/><path d="m7.2 9.5 3 2.5-3 2.5M12.8 15h4"/></g></symbol>
<symbol id="i-git" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><circle cx="6" cy="6" r="2.3"/><circle cx="6" cy="18" r="2.3"/><circle cx="18" cy="12" r="2.3"/><path d="M6 8.3v7.4M8.3 6h4.2a3.5 3.5 0 0 1 3.5 3.5v.2"/></g></symbol>
<symbol id="i-cloud" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M6.5 18.5h11a4 4 0 0 0 .7-7.94A5.5 5.5 0 0 0 7.4 9.2 3.8 3.8 0 0 0 6.5 18.5z"/></g></symbol>
<symbol id="i-bolt" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" d="M13 2.8 4.8 13.2h6.3L10.2 21.2 19.2 10.6h-6.4z"/></symbol>
<defs>
<radialGradient id="sc-rf-bg" cx="54" cy="54" r="76" gradientUnits="userSpaceOnUse">
<stop offset="0%" stop-color="#1C1C24"/>
<stop offset="100%" stop-color="#09090B"/>
</radialGradient>
<linearGradient id="sc-rf-ring" x1="24" y1="24" x2="84" y2="84" gradientUnits="userSpaceOnUse">
<stop offset="0%" stop-color="#00E5FF"/>
<stop offset="50%" stop-color="#8A2BE2"/>
<stop offset="100%" stop-color="#FF0055"/>
</linearGradient>
<linearGradient id="sc-rf-wl" x1="40" y1="48" x2="40" y2="60" gradientUnits="userSpaceOnUse">
<stop offset="0%" stop-color="#00E5FF"/>
<stop offset="100%" stop-color="#29B6F6"/>
</linearGradient>
<linearGradient id="sc-rf-wc" x1="54" y1="30" x2="54" y2="78" gradientUnits="userSpaceOnUse">
<stop offset="0%" stop-color="#8A2BE2"/>
<stop offset="100%" stop-color="#E040FB"/>
</linearGradient>
<linearGradient id="sc-rf-wr" x1="68" y1="45" x2="68" y2="63" gradientUnits="userSpaceOnUse">
<stop offset="0%" stop-color="#FF0055"/>
<stop offset="100%" stop-color="#FF8A80"/>
</linearGradient>
<linearGradient id="sc-web-ring" x1="3" y1="3" x2="21" y2="21" gradientUnits="userSpaceOnUse">
<stop offset="0%" stop-color="#38BDF8"/>
<stop offset="55%" stop-color="#818CF8"/>
<stop offset="100%" stop-color="#E879F9"/>
</linearGradient>
<radialGradient id="sc-web-glow" cx="11.5" cy="12.5" r="8.5" gradientUnits="userSpaceOnUse">
<stop offset="0%" stop-color="#38BDF8" stop-opacity="0.24"/>
<stop offset="70%" stop-color="#818CF8" stop-opacity="0.06"/>
<stop offset="100%" stop-color="#090A0F" stop-opacity="0"/>
</radialGradient>
<linearGradient id="sc-web-gold" x1="16" y1="3" x2="22" y2="9" gradientUnits="userSpaceOnUse">
<stop offset="0%" stop-color="#FFF176"/>
<stop offset="100%" stop-color="#F5C451"/>
</linearGradient>
</defs>
<symbol id="sc-radio-icon" viewBox="10 10 88 88">
<rect x="10" y="10" width="88" height="88" rx="22" fill="url(#sc-rf-bg)"/>
<circle cx="54" cy="54" r="42" fill="none" stroke="rgba(255,255,255,0.10)" stroke-width="0.9"/>
<circle cx="54" cy="54" r="34" fill="none" stroke="rgba(255,255,255,0.06)" stroke-width="0.9"/>
<path fill-rule="evenodd" fill="url(#sc-rf-ring)" d="M54,24 A30,30 0 1,0 54,84 A30,30 0 1,0 54,24 Z M54,32 A22,22 0 1,1 54,76 A22,22 0 1,1 54,32 Z"/>
<circle cx="54" cy="54" r="4" fill="#E0E0E0"/>
<line x1="40" y1="48" x2="40" y2="60" stroke="url(#sc-rf-wl)" stroke-width="5" stroke-linecap="round"/>
<line x1="54" y1="30" x2="54" y2="44" stroke="url(#sc-rf-wc)" stroke-width="5" stroke-linecap="round"/>
<line x1="54" y1="64" x2="54" y2="78" stroke="url(#sc-rf-wc)" stroke-width="5" stroke-linecap="round"/>
<line x1="68" y1="45" x2="68" y2="63" stroke="url(#sc-rf-wr)" stroke-width="5" stroke-linecap="round"/>
<rect x="11" y="11" width="86" height="86" rx="21" fill="none" stroke="rgba(148,163,184,0.34)" stroke-width="1.6"/>
</symbol>
<symbol id="sc-web-icon" viewBox="0 0 24 24">
<circle cx="11.5" cy="12.5" r="8.4" fill="url(#sc-web-glow)"/>
<circle cx="11.5" cy="12.5" r="8.4" fill="none" stroke="url(#sc-web-ring)" stroke-width="1.75"/>
<ellipse cx="11.5" cy="12.5" rx="3.8" ry="8.4" fill="none" stroke="url(#sc-web-ring)" stroke-width="1.35" stroke-opacity="0.90"/>
<path d="M3.6 10.2 Q11.5 11.9 19.4 10.2" fill="none" stroke="url(#sc-web-ring)" stroke-width="1.25" stroke-linecap="round" stroke-opacity="0.82"/>
<path d="M3.6 14.8 Q11.5 13.1 19.4 14.8" fill="none" stroke="url(#sc-web-ring)" stroke-width="1.25" stroke-linecap="round" stroke-opacity="0.82"/>
<circle cx="18.6" cy="5.4" r="3.9" fill="#0E1320"/>
<circle cx="18.6" cy="5.4" r="3.4" fill="none" stroke="#F5C451" stroke-width="1.15" stroke-opacity="0.48"/>
<circle cx="18.6" cy="5.4" r="2.0" fill="url(#sc-web-gold)"/>
</symbol>
<symbol id="sc-web-mono" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.65" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="9"/><path d="M3.4 12h17.2"/><path d="M12 3a13.5 13.5 0 0 1 3.6 9 13.5 13.5 0 0 1-3.6 9 13.5 13.5 0 0 1-3.6-9A13.5 13.5 0 0 1 12 3z"/></g></symbol>
<symbol id="gp-prism-mono" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><path d="M5 3.8c0-.8.9-1.3 1.6-.9l13.2 7.6c.7.4.7 1.4 0 1.8L6.6 19.9c-.7.4-1.6-.1-1.6-.9V3.8z"/><path d="M5.4 3.5l10.2 10.2" stroke-opacity="0.82"/><path d="M5.4 19.3l10.2-10.2" stroke-opacity="0.82"/></g></symbol>
<symbol id="i-shield" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" d="M12 2.8 4.8 5.8v5.6c0 5 3.1 8.5 7.2 9.8 4.1-1.3 7.2-4.8 7.2-9.8V5.8z"/></symbol>
</svg>
<header class="topbar">
<div class="container topbar__inner">
<a href="index.html" class="brand" aria-label="SuperCode IDE Home">
<span class="brand__icon"><svg aria-hidden="true"><use href="#sc-logo"/></svg></span>
<span>SuperCode</span>
<span class="brand__tag">IDE</span>
</a>
<nav class="nav" aria-label="Primary Workspaces">
<a href="code-editor.html" data-i18n="nav_code_editor">Code Editor</a>
<a href="large-file-editor.html" data-i18n="nav_large_file">GB Large Files</a>
<a href="python-ide.html" data-i18n="nav_python_ide">Python IDE</a>
<a href="c-compiler.html" data-i18n="nav_c_compiler">C17 Compiler</a>
<a href="cpp-ide.html" data-i18n="nav_cpp_ide">C++20 IDE</a>
<a href="java-ide.html" data-i18n="nav_java_ide">Java 17 IDE</a>
<a href="javascript-ide.html" data-i18n="nav_js_ide">JavaScript</a>
<a href="web-ide.html" data-i18n="nav_web_ide">Web & PHP</a>
<a href="sql-ide.html" data-i18n="nav_sql_ide">SQL Studio</a>
<a href="git-client.html" data-i18n="nav_git_client">Visual Git</a>
<a href="sftp-client.html" data-i18n="nav_sftp_client">SFTP & FTPS</a>
</nav>
<div class="topbar__actions">
<button id="langModalBtn" class="btn-lang-trigger" type="button" onclick="openLangModal()" aria-label="Select Language">
<svg class="lang-globe-svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
<circle cx="12" cy="12" r="10"/><path d="M2 12h20"/><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"/>
</svg>
<span id="langTriggerText">EN</span>
<span class="lang-chevron" aria-hidden="true">▾</span>
</button>
<a href="https://play.google.com/store/apps/details?id=com.phoenixglobal.supercodeeditor&hl=en-US&listing=js-lua-coding&referrer=utm_source%3Dsupercode_web%26utm_medium%3Den%26utm_campaign%3Djs-lua-coding%26utm_content%3Dlearn-lua-offline-android" target="_blank" rel="noopener" class="btn btn--gold btn--sm topbar__play">
<svg class="gp-prism" aria-hidden="true"><use href="#gp-prism"/></svg>
<span data-i18n="nav_cta">Google Play</span>
</a>
<a href="index.html" class="btn-home-icon" aria-label="Home" title="Home">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
<path d="M3 10.5L12 3l9 7.5"/>
<path d="M5 9.5V20a1 1 0 0 0 1 1h4.5v-6h3v6H18a1 1 0 0 0 1-1V9.5"/>
</svg>
</a>
<button type="button" class="menu-btn" id="menuBtn" aria-expanded="false" aria-controls="siteDrawer" aria-label="Full Site Map">
<svg class="i-menu" viewBox="0 0 24 24" aria-hidden="true"><path fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" d="M4 8.5h16M4 15.5h16"/></svg>
<svg class="i-close" viewBox="0 0 24 24" aria-hidden="true"><path fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" d="M6 6l12 12M18 6 6 18"/></svg>
</button>
</div>
</div>
</header>
<main id="top">
<!-- ==================== 01 · EDITORIAL HERO & INTERACTIVE WORKBENCH ==================== -->
<section class="hero">
<div class="container">
<div class="hero__grid">
<div class="hero__copy">
<div class="py-hub-crumb"><a href="lua-ide.html"><span class="crumb-arrow" aria-hidden="true">←</span> Lua 5.4 IDE Hub</a><span class="sep">/</span><span>Learn Lua Offline on Android</span></div>
<div class="trust-pill">
<span class="trust-pill__score"><span data-play-rating>4.9</span> ★</span>
<span data-i18n="hero_tag">ZERO LOGIN · 100% OFFLINE · 8 LUA EXAMPLES · FORMATTER & A4 PDF</span>
</div>
<h1 class="hero-h1" data-i18n="hero_h1">Learn <span class="text-gradient">Lua Programming Offline</span> on Your Android Phone.</h1>
<p class="hero-lead" data-i18n="hero_desc">Skip sign-up walls, cloud queues, and tap-the-blank quiz gimmicks. Write real <strong>Lua 5.4</strong> code in <strong>airplane mode</strong> with <strong>8 runnable examples</strong>, live <strong><code>io.read()</code></strong> prompts, a <strong>1-tap Lua formatter</strong>, and <strong>syntax-highlighted A4 PDF export</strong>.</p>
<div class="hero__cta" id="heroCta">
<a href="https://play.google.com/store/apps/details?id=com.phoenixglobal.supercodeeditor&hl=en-US&listing=js-lua-coding&referrer=utm_source%3Dsupercode_web%26utm_medium%3Den%26utm_campaign%3Djs-lua-coding%26utm_content%3Dlearn-lua-offline-android" target="_blank" rel="noopener" class="btn btn--gold">
<svg class="gp-prism" aria-hidden="true"><use href="#gp-prism"/></svg>
<span data-i18n="cta_btn">Get on Google Play</span>
</a>
<a href="https://supercodeide.app/tutorial/?lang=en&ref=official_web" data-supercode-tutorial="true" class="btn btn--ghost">
<span data-i18n="cta_tutorial">App Guide</span>
<svg class="icon-ne" aria-hidden="true"><use href="#i-ne"/></svg>
</a>
</div>
</div>
<dl class="specs" aria-label="Key Specifications">
<div class="spec"><dt>100%</dt><dd data-i18n="lln_s1">Airplane-Mode Run</dd></div>
<div class="spec"><dt>8</dt><dd data-i18n="lln_s2">Starter Scripts</dd></div>
<div class="spec"><dt>1-Tap</dt><dd data-i18n="lln_s3">Lua Formatter</dd></div>
<div class="spec"><dt>A4 PDF</dt><dd data-i18n="lln_s4">Homework Export</dd></div>
</dl>
</div>
<div class="wb-caption">
<div class="sec-index" style="margin-bottom:0">
<span class="num">01</span>
<span class="rule"></span>
<span data-i18n="wb_eyebrow">BEGINNER-FRIENDLY OFFLINE LUA LEARNING WORKBENCH</span>
</div>
<span class="wb-caption__hint mono">Live io.read() · Tables & Sorting · String Patterns & A4 PDF Export</span>
</div>
<div class="ide-workbench">
<div class="wb-titlebar">
<div class="wb-dots" aria-hidden="true"><i></i><i></i><i></i></div>
<div class="wb-title" id="ide-compiler-label">learn-lua-101/01_guess_io.lua — Airplane-Mode io.read() Practice</div>
<button type="button" class="wb-run" id="btn-run-sandbox">
<span class="wb-run__tri" aria-hidden="true">▶</span>
<span data-i18n="btn_run">Run Demo</span>
</button>
</div>
<div class="wb-tabs" role="tablist" aria-label="Interactive Workspace Tabs">
<button type="button" class="ide-tab active" data-tab="io" role="tab" aria-selected="true"><i></i>01_guess_io.lua</button>
<button type="button" class="ide-tab" data-tab="tbl" role="tab" aria-selected="false"><i></i>02_tables_sort.lua</button>
<button type="button" class="ide-tab" data-tab="pat" role="tab" aria-selected="false"><i></i>03_patterns_pdf.lua</button>
</div>
<div class="wb-body">
<aside class="wb-explorer" aria-label="Project Explorer">
<div class="wb-explorer__head">Explorer</div>
<div class="wb-folder">▾ learn-lua-101</div>
<button type="button" class="wb-file active" data-tab="io"><b>101</b><span>01_guess_io.lua</span></button>
<button type="button" class="wb-file" data-tab="tbl"><b>TBL</b><span>02_tables_sort.lua</span></button>
<button type="button" class="wb-file" data-tab="pat"><b>PDF</b><span>03_patterns_pdf.lua</span></button>
</aside>
<div class="wb-main">
<div class="ide-editor-body" id="ide-code-box" role="region" aria-label="Interactive Code Preview"></div>
<div class="ide-terminal" id="ide-terminal-drawer" aria-live="polite">
<div class="term-header">
<span data-i18n="term_title">Interactive Console Output</span>
<div class="term-header-right">
<span class="term-exec-badge" id="ide-exec-status">Ready</span>
<button type="button" class="btn-term-close" id="btn-close-term" aria-label="Close terminal">✕</button>
</div>
</div>
<div class="term-stream" id="ide-term-output"></div>
</div>
</div>
</div>
<div class="wb-statusbar">
<span class="wb-statusbar__dot"><i></i><span id="wbStatusLang">Zero Login · 100% Offline</span></span>
<div class="wb-statusbar__right">
<span>UTF-8</span>
<span>LF</span>
<span>Ln 6, Col 1</span>
</div>
</div>
</div>
</div>
</section>
<!-- SC_REAL_GALLERY_START -->
<section class="section sc-real-gallery" id="screenshots" aria-label="App Preview and Screenshots">
<div class="container">
<div class="sc-gp-head">
<div class="sc-gp-head-left">
<div class="sc-gp-eyebrow" data-i18n="gal_eyebrow">PHONE · TABLET · CHROMEBOOK · ANDROID XR</div>
<h2 class="sc-gp-title" data-i18n="gal_title">App Preview & Screenshots</h2>
<p class="sc-gp-short" data-i18n="gal_short_desc">Offline IDE & Compiler: Python, C/C++, Java, JS, HTML, SQL, PHP, Lua, Git, SFTP</p>
</div>
<a class="sc-gp-store-bar" href="https://play.google.com/store/apps/details?id=com.phoenixglobal.supercodeeditor&hl=en-US&listing=js-lua-coding&referrer=utm_source%3Dsupercode_web%26utm_medium%3Den%26utm_campaign%3Djs-lua-coding%26utm_content%3Dlearn-lua-offline-android" target="_blank" rel="noopener" aria-label="Code Editor: SuperCode IDE — Phoenix Global Studios">
<svg class="sc-gp-app-icon" width="38" height="38" viewBox="16 12 76 76" aria-hidden="true"><rect x="16" y="12" width="76" height="76" rx="18" fill="#070A10" stroke="#3B82F6" stroke-width="2"/><path fill="#FFD700" d="M52,28 L56,28 L56,80 L52,80 Z"/><path fill="#FF4500" d="M48,54 L30,40 L30,46 L44,54 L30,62 L30,68 Z"/><path fill="#FF4500" d="M60,54 L78,40 L78,46 L64,54 L78,62 L78,68 Z"/><path fill="#FFF176" d="M54,22m-3,0a3,3 0,1 1,6 0a3,3 0,1 1,-6 0"/></svg>
<span class="sc-gp-app-meta">
<span class="sc-gp-app-name">Code Editor: SuperCode IDE</span>
<span class="sc-gp-app-dev">Phoenix Global Studios</span>
</span>
<span class="sc-gp-store-arrow" aria-hidden="true">
<svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"><line x1="7" y1="17" x2="17" y2="7"/><polyline points="7 7 17 7 17 17"/></svg>
</span>
</a>
</div>
<div class="sc-gp-tabs" id="scGpTabs" role="tablist">
<button type="button" class="sc-gp-tab is-active" data-device-filter="all" role="tab" aria-selected="true">All (31)</button>
<a class="sc-gp-all-link" href="./#screenshots">All 31 Screenshots →</a>
</div>
<div class="sc-gp-stage">
<button type="button" class="sc-gp-nav sc-gp-nav--prev is-hidden" id="scGpPrev" aria-label="Previous image">
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><polyline points="15 18 9 12 15 6"/></svg>
</button>
<div class="sc-gp-rail" id="scGpRail">
<svg width="0" height="0" style="position:absolute;width:0;height:0;overflow:hidden" aria-hidden="true"><defs><symbol id="sc-zoom-i" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"><polyline points="15 3 21 3 21 9"/><polyline points="9 21 3 21 3 15"/><line x1="21" y1="3" x2="14" y2="10"/><line x1="3" y1="21" x2="10" y2="14"/></symbol></defs></svg>
<button type="button" class="sc-gp-item sc-gp-item--shot" data-device="phone" aria-label="Local Web Server, Offline PHP & DevTools">
<img src="assets/gallery/en/03_web_php_devtools.webp" data-sc-file="03_web_php_devtools.webp" data-sc-prefix="" data-sc-cap-key="gal_cap_3" data-cap="Local Web Server, Offline PHP & DevTools" alt="Local Web Server, Offline PHP & DevTools" width="720" height="1280" loading="eager" fetchpriority="high" decoding="async">
<span class="sc-gp-zoom-cue" aria-hidden="true"><svg width="14" height="14" aria-hidden="true"><use href="#sc-zoom-i"/></svg></span>
</button>
<button type="button" class="sc-gp-item sc-gp-item--wide" data-device="tablet" aria-label="Tablet · Local PHP 8.2 & 127.0.0.1 Live Server.">
<img src="assets/gallery/en/16_tablet_web_php_live.webp" data-sc-file="16_tablet_web_php_live.webp" data-sc-prefix="" data-sc-cap-key="gal_cap_16" data-cap="Tablet · Local PHP 8.2 & 127.0.0.1 Live Server." alt="Tablet · Local PHP 8.2 & 127.0.0.1 Live Server." width="1280" height="720" loading="eager" fetchpriority="high" decoding="async">
<span class="sc-gp-dev-badge" data-i18n="badge_tablet">Tablet</span>
<span class="sc-gp-zoom-cue" aria-hidden="true"><svg width="14" height="14" aria-hidden="true"><use href="#sc-zoom-i"/></svg></span>
</button>
<button type="button" class="sc-gp-item sc-gp-item--wide" data-device="chromebook" aria-label="Chromebook · Local PHP 8.2 & 127.0.0.1 Live Server.">
<img src="assets/gallery/en/23_chromebook_web_php_live.webp" data-sc-file="23_chromebook_web_php_live.webp" data-sc-prefix="" data-sc-cap-key="gal_cap_23" data-cap="Chromebook · Local PHP 8.2 & 127.0.0.1 Live Server." alt="Chromebook · Local PHP 8.2 & 127.0.0.1 Live Server." width="1280" height="720" loading="eager" fetchpriority="high" decoding="async">
<span class="sc-gp-dev-badge" data-i18n="badge_chromebook">Chromebook</span>
<span class="sc-gp-zoom-cue" aria-hidden="true"><svg width="14" height="14" aria-hidden="true"><use href="#sc-zoom-i"/></svg></span>
</button>
<button type="button" class="sc-gp-item sc-gp-item--wide" data-device="xr" aria-label="Android XR · Local PHP 8.2 & 127.0.0.1 Live Server.">
<img src="assets/gallery/en/30_xr_web_php_live.webp" data-sc-file="30_xr_web_php_live.webp" data-sc-prefix="" data-sc-cap-key="gal_cap_30" data-cap="Android XR · Local PHP 8.2 & 127.0.0.1 Live Server." alt="Android XR · Local PHP 8.2 & 127.0.0.1 Live Server." width="1280" height="720" loading="eager" fetchpriority="high" decoding="async">
<span class="sc-gp-dev-badge" data-i18n="badge_xr">Android XR</span>
<span class="sc-gp-zoom-cue" aria-hidden="true"><svg width="14" height="14" aria-hidden="true"><use href="#sc-zoom-i"/></svg></span>
</button>
<button type="button" class="sc-gp-item sc-gp-item--wide" data-device="chromebook" aria-label="Chromebook (ChromeOS) & Desktop LCD IDE · Keyboard & Mouse">
<img src="assets/gallery/en/11_chromebook_ide.webp" data-sc-file="11_chromebook_ide.webp" data-sc-prefix="" data-sc-cap-key="gal_cap_11" data-cap="Chromebook (ChromeOS) & Desktop LCD IDE · Keyboard & Mouse" alt="Chromebook (ChromeOS) & Desktop LCD IDE · Keyboard & Mouse" width="1280" height="720" loading="lazy" decoding="async">
<span class="sc-gp-dev-badge" data-i18n="badge_chromebook">Chromebook</span>
<span class="sc-gp-zoom-cue" aria-hidden="true"><svg width="14" height="14" aria-hidden="true"><use href="#sc-zoom-i"/></svg></span>
</button>
<button type="button" class="sc-gp-item sc-gp-item--wide" data-device="tablet" aria-label="Tablet · Open 1GB Files & Global Project Tree.">
<img src="assets/gallery/en/14_tablet_file_manager.webp" data-sc-file="14_tablet_file_manager.webp" data-sc-prefix="" data-sc-cap-key="gal_cap_14" data-cap="Tablet · Open 1GB Files & Global Project Tree." alt="Tablet · Open 1GB Files & Global Project Tree." width="1280" height="720" loading="lazy" decoding="async">
<span class="sc-gp-dev-badge" data-i18n="badge_tablet">Tablet</span>
<span class="sc-gp-zoom-cue" aria-hidden="true"><svg width="14" height="14" aria-hidden="true"><use href="#sc-zoom-i"/></svg></span>
</button>
</div>
<button type="button" class="sc-gp-nav sc-gp-nav--next" id="scGpNext" aria-label="Next image">
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><polyline points="9 18 15 12 9 6"/></svg>
</button>
</div>
</div>
</section>
<div class="sc-lb-modal" id="scLightbox" role="dialog" aria-modal="true" aria-hidden="true" aria-label="App Preview and Screenshots">
<div class="sc-lb-topbar">
<button type="button" class="sc-lb-back" id="scLbBack">
<svg width="17" height="17" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><line x1="19" y1="12" x2="5" y2="12"/><polyline points="12 19 5 12 12 5"/></svg>
<span data-i18n="gal_back">Back</span>
</button>
<div class="sc-lb-meta">
<span class="sc-lb-counter" id="scLbCounter">1 / 9</span>
<span class="sc-lb-title" id="scLbTitle"></span>
</div>
<button type="button" class="sc-lb-close" id="scLbClose" aria-label="Close preview">×</button>
</div>
<div class="sc-lb-stage">
<button type="button" class="sc-lb-arrow sc-lb-arrow--prev" id="scLbPrev" aria-label="Previous image">
<svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><polyline points="15 18 9 12 15 6"/></svg>
</button>
<img class="sc-lb-img" id="scLbImg" src="" alt="SuperCode IDE Preview">
<button type="button" class="sc-lb-arrow sc-lb-arrow--next" id="scLbNext" aria-label="Next image">
<svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><polyline points="9 18 15 12 9 6"/></svg>
</button>
</div>
<div class="sc-lb-dots" id="scLbDots"></div>
</div>
<script defer src="assets/gallery.js?v=15520"></script>
<!-- SC_REAL_GALLERY_END -->
<!-- ==================== 02 · CORE CAPABILITIES ==================== -->
<section class="section section--alt" id="capabilities">
<div class="container">
<div class="sec-index">
<span class="num">02</span>
<span class="rule"></span>
<span data-i18n="sec_cap_eyebrow">CORE CAPABILITIES</span>
</div>
<div class="sec-grid">
<h2 data-i18n="sec_cap_title">Everything Self-Taught Coders & Students Need to Master Lua</h2>
<p class="sec-lead" data-i18n="sec_cap_lead">Lua is famous for its clean, readable syntax — and SuperCode makes typing, formatting, and debugging Lua on a touchscreen feel natural.</p>
</div>
<div class="sec-body">
<div class="feature-grid feature-grid--6">
<article class="feature-card" id="cap1">
<div class="f-top">
<span class="f-icon"><svg aria-hidden="true"><use href="#i-bolt"/></svg></span>
<span class="f-idx">02.1</span>
</div>
<h3 class="f-title" data-i18n="f1_title">Instant Airplane-Mode Execution With Zero Login</h3>
<p class="f-desc" data-i18n="f1_desc">Launch SuperCode and run your first print('Hello, Lua!') in under a second — no account creation, no internet dependency, and ~400-microsecond feedback on every tap of Run ▶.</p>
<div class="f-code" data-i18n="f1_badge">Zero Registration · Works on Flights & Commutes</div>
</article>
<article class="feature-card" id="cap2">
<div class="f-top">
<span class="f-icon"><svg aria-hidden="true"><use href="#i-cube"/></svg></span>
<span class="f-idx">02.2</span>
</div>
<h3 class="f-title" data-i18n="f2_title">8 Runnable Lua Examples Built Into the Toolbar</h3>
<p class="f-desc" data-i18n="f2_desc">Explore hands-on templates covering variables, loops, guessing games (guess.lua), unified tables (tables.lua), closures, OOP metatables (metatables.lua), and text adventures (adventure.lua).</p>
<div class="f-code" data-i18n="f2_badge">guess.lua · tables.lua · metatables.lua · adventure.lua</div>
</article>
<article class="feature-card" id="cap3">
<div class="f-top">
<span class="f-icon"><svg aria-hidden="true"><use href="#i-term"/></svg></span>
<span class="f-idx">02.3</span>
</div>
<h3 class="f-title" data-i18n="f3_title">Interactive io.read() Console for Real Exercises</h3>
<p class="f-desc" data-i18n="f3_desc">Build calculators, quizzes, and RPG menus that pause cleanly for live user input via io.read('*l') and tonumber(), running inside a zoomable split-screen console.</p>
<div class="f-code" data-i18n="f3_badge">Live Stdin Prompts · Adjustable Console Font Zoom</div>
</article>
<article class="feature-card" id="cap4">
<div class="f-top">
<span class="f-icon"><svg aria-hidden="true"><use href="#i-layers"/></svg></span>
<span class="f-idx">02.4</span>
</div>
<h3 class="f-title" data-i18n="f4_title">1-Tap Offline Lua Block & Table Formatter</h3>
<p class="f-desc" data-i18n="f4_desc">Nested if/then/elseif/end blocks and multi-line Lua tables can get messy on a small screen. Tap Format once to re-indent functions, loops, repeat/until blocks, and {} tables offline.</p>
<div class="f-code" data-i18n="f4_badge">100% Offline Lua Formatter · Clean Indentation</div>
</article>
<article class="feature-card" id="cap5">
<div class="f-top">
<span class="f-icon"><svg aria-hidden="true"><use href="#i-shield"/></svg></span>
<span class="f-idx">02.5</span>
</div>
<h3 class="f-title" data-i18n="f5_title">Error Radar & Dedicated Lua Symbol Keyboard Row</h3>
<p class="f-desc" data-i18n="f5_desc">Catch missing end or then keywords early with real-time Error Radar gutter markers, and type Lua-specific operators (~=, .., #, --, {}, []) in one tap via the swipe-up symbol bar.</p>
<div class="f-code" data-i18n="f5_badge">~= · .. · # · -- Comment Toggle · Error Radar</div>
</article>
<article class="feature-card" id="cap6">
<div class="f-top">
<span class="f-icon"><svg aria-hidden="true"><use href="#i-web"/></svg></span>
<span class="f-idx">02.6</span>
</div>
<h3 class="f-title" data-i18n="f6_title">Native Syntax-Highlighted A4 PDF Export</h3>
<p class="f-desc" data-i18n="f6_desc">Submitting a scripting assignment or saving study sheets? Export any .lua script directly to a crisp monospace A4 PDF offline and preview it in SuperCode's built-in PDF Viewer.</p>
<div class="f-code" data-i18n="f6_badge">Save As .pdf · 8 Light & Dark Eye-Care Themes</div>
</article>
</div>
</div>
<div class="sec-foot">
<span data-i18n="meta_ver">Built for Phones, Foldables & Tablets · Lightweight 45 MB</span>
<a class="link-arrow" href="lua-ide.html">
<span>Lua 5.4 IDE Hub</span>
<svg aria-hidden="true"><use href="#i-arrow"/></svg>
</a>
</div>
</div>
</section>
<!-- ==================== 03 · STEP-BY-STEP WORKFLOW GUIDE ==================== -->
<section class="section" id="workflow">
<div class="container">
<div class="sec-index">
<span class="num">03</span>
<span class="rule"></span>
<span data-i18n="sec_wf_eyebrow">STEP-BY-STEP WORKFLOW</span>
</div>
<div class="sec-grid">
<h2 data-i18n="workflow_title">Start Coding in Lua on Android in Under 60 Seconds</h2>
<p class="sec-lead" data-i18n="workflow_lead">No configuration, SDK downloads, or terminal commands needed.</p>
</div>
<div class="sec-body">
<div class="workflow-grid">
<article class="wf-step" id="step1">
<div class="wf-step__head">
<span class="wf-step__badge">STEP 01</span>
<span class="wf-step__cmd">Examples -> Pick Script</span>
</div>
<h3 data-i18n="wf1_title">Open a Built-In Template or Create hello.lua</h3>
<p data-i18n="wf1_desc">Load one of the 8 built-in Lua examples to see how tables and functions work, or create a fresh .lua file.</p>
</article>
<article class="wf-step" id="step2">
<div class="wf-step__head">
<span class="wf-step__badge">STEP 02</span>
<span class="wf-step__cmd">Symbol Bar + AST</span>
</div>
<h3 data-i18n="wf2_title">Type Fast With ~=, .., and Table Autocomplete</h3>
<p data-i18n="wf2_desc">Use the 21-key symbol bar and offline string./table./math. AST suggestions to write clean code without typos.</p>
</article>
<article class="wf-step" id="step3">
<div class="wf-step__head">
<span class="wf-step__badge">STEP 03</span>
<span class="wf-step__cmd">Toolbar -> Run ▶</span>
</div>
<h3 data-i18n="wf3_title">Run Offline & Test Interactive io.read() Inputs</h3>
<p data-i18n="wf3_desc">Tap Run ▶ for instant output, answer console prompts live, and inspect clear line-numbered error hints if something fails.</p>
</article>
<article class="wf-step" id="step4">
<div class="wf-step__head">
<span class="wf-step__badge">STEP 04</span>
<span class="wf-step__cmd">Format -> Export PDF</span>
</div>
<h3 data-i18n="wf4_title">Auto-Format & Export A4 PDF Study Notes</h3>
<p data-i18n="wf4_desc">Tap Format to tidy your block indentation, then export a syntax-highlighted A4 PDF or push your progress to GitHub.</p>
</article>
</div>
</div>
<div class="sec-foot">
<span data-i18n="wf_foot_note">Lightweight 45 MB App · 8 Optical Studio Themes · 32 UI Languages</span>
<a class="link-arrow" href="https://supercodeide.app/tutorial/?lang=en&ref=official_web" data-supercode-tutorial="true">
<span data-i18n="cta_tutorial">App Guide</span>
<svg aria-hidden="true"><use href="#i-ne"/></svg>
</a>
</div>
</div>
</section>
<!-- ==================== 04 · FEATURED SUMMARY & COMPARISON MATRIX ==================== -->
<section class="section section--alt" id="comparison">
<div class="container">
<div class="sec-index">
<span class="num">04</span>
<span class="rule"></span>
<span data-i18n="comp_eyebrow">CAPABILITY MATRIX</span>
</div>
<div class="sec-grid">
<h2 data-i18n="table_h2">SuperCode vs. Quiz Apps & Plain Lua Text Editors</h2>
<p class="snippet-definition" data-i18n="snippet_p"><strong>SuperCode</strong> is a lightweight, beginner-friendly offline Lua coding app for Android with zero login barriers. It pairs a native Lua 5.4.7 interpreter and live <code>io.read()</code> console with eight runnable starter scripts, Error Radar diagnostics, one-tap offline Lua code formatting, and native A4 PDF homework export.</p>
</div>
<div class="sec-body">
<div class="table-wrap">
<table class="obsidian-benchmark-table">
<caption data-i18n="table_caption">LEARNING LUA ON ANDROID: FEATURE COMPARISON</caption>
<thead>
<tr>
<th scope="col" data-i18n="th_0">Learning Feature</th>
<th scope="col" data-i18n="th_1">SuperCode Lua Studio</th>
<th scope="col" data-i18n="th_2">Gamified Quiz Apps</th>
<th scope="col" data-i18n="th_3">Plain Text Editors</th>
<th scope="col" data-i18n="th_4">Web Lua Playgrounds</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row" data-i18n="tr1_c0">Offline Execution</th>
<td><strong data-i18n="tr1_c1">100% Offline Native Lua 5.4.7 (~400 µs)</strong></td>
<td data-i18n="tr1_c2">Locked behind login/net</td>
<td data-i18n="tr1_c3">Cannot run scripts</td>
<td data-i18n="tr1_c4">Requires internet</td>
</tr>
<tr>
<th scope="row" data-i18n="tr2_c0">Interactive Input</th>
<td><strong data-i18n="tr2_c1">Live io.read() Split-Screen Console</strong></td>
<td data-i18n="tr2_c2">Multiple-choice taps</td>
<td data-i18n="tr2_c3">None</td>
<td data-i18n="tr2_c4">Static or broken</td>
</tr>
<tr>
<th scope="row" data-i18n="tr3_c0">Code Tidying</th>
<td><strong data-i18n="tr3_c1">1-Tap Offline Lua Block & Table Formatter</strong></td>
<td data-i18n="tr3_c2">Not applicable</td>
<td data-i18n="tr3_c3">Manual spaces</td>
<td data-i18n="tr3_c4">Rarely included</td>
</tr>
<tr>
<th scope="row" data-i18n="tr4_c0">Homework & Notes</th>
<td><strong data-i18n="tr4_c1">Built-In A4 Monospace PDF Export + Viewer</strong></td>
<td data-i18n="tr4_c2">None</td>
<td data-i18n="tr4_c3">Plain text share</td>
<td data-i18n="tr4_c4">Browser print only</td>
</tr>
<tr>
<th scope="row" data-i18n="tr5_c0">Room to Grow</th>
<td><strong data-i18n="tr5_c1">11+ Modules (cjson/SQLite), Multi-File & Git</strong></td>
<td data-i18n="tr5_c2">Stops at basic syntax</td>
<td data-i18n="tr5_c3">No runtime</td>
<td data-i18n="tr5_c4">No local files</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="sec-foot">
<span data-i18n="meta_ver">Built for Phones, Foldables & Tablets · Lightweight 45 MB</span>
<a class="link-arrow" href="https://play.google.com/store/apps/details?id=com.phoenixglobal.supercodeeditor&hl=en-US&listing=js-lua-coding&referrer=utm_source%3Dsupercode_web%26utm_medium%3Den%26utm_campaign%3Djs-lua-coding%26utm_content%3Dlearn-lua-offline-android" target="_blank" rel="noopener">
<span>Google Play</span>
<svg aria-hidden="true"><use href="#i-ne"/></svg>
</a>
</div>
</div>
</section>
<!-- ==================== 05 · VISIBLE EDITORIAL FAQ ==================== -->
<section class="section" id="faq">
<div class="container">
<div class="faq-grid">
<div class="faq-head">
<div class="sec-index">
<span class="num">05</span>
<span class="rule"></span>
<span data-i18n="sec3_eyebrow">QUESTIONS & ANSWERS</span>
</div>
<h2 class="h2" data-i18n="sec3_title">Frequently Asked Questions</h2>
<p class="sec-lead" data-i18n="faq_lead">Questions from beginners and students learning Lua offline on Android.</p>
</div>
<div class="faq-list">
<details class="faq-item" open>
<summary><span data-i18n="faq1_q">Is Lua a good first programming language to learn on a phone?</span><span class="faq-icon" aria-hidden="true">+</span></summary>
<div class="faq-answer" data-i18n="faq1_a">Yes! Lua has only 22 reserved keywords and uses plain English words like `function`, `then`, `and`, `or`, and `end` instead of heavy punctuation — making it exceptionally fast to read and type on mobile.</div>
</details>
<details class="faq-item">
<summary><span data-i18n="faq2_q">Does SuperCode work completely offline without creating an account?</span><span class="faq-icon" aria-hidden="true">+</span></summary>
<div class="faq-answer" data-i18n="faq2_a">100%. There is no login screen, and the native Lua 5.4.7 engine, 8 starter templates, AST autocomplete, Lua formatter, and A4 PDF exporter all run offline in airplane mode.</div>
</details>
<details class="faq-item">
<summary><span data-i18n="faq3_q">How do I type `~=` (not equal) and `..` (string concat) quickly on Android?</span><span class="faq-icon" aria-hidden="true">+</span></summary>
<div class="faq-answer" data-i18n="faq3_a">SuperCode's touch coding bar sits right above your keyboard with dedicated Lua operators, brackets, indentation keys, and `--` comment toggles so you never dig through secondary symbol screens.</div>
</details>
<details class="faq-item">
<summary><span data-i18n="faq4_q">Can I grow from beginner scripts to multi-file games or SQLite tools in the same app?</span><span class="faq-icon" aria-hidden="true">+</span></summary>
<div class="faq-answer" data-i18n="faq4_a">Yes. Whenever you're ready, you can split projects across folders with `require()`, use built-in `cjson` and `lsqlite3` modules, and push repositories via Visual Git.</div>
</details>
</div>
</div>
</div>
</section>
<!-- ==================== 06 · TOPICAL AUTHORITY ECOSYSTEM CLUSTER ==================== -->
<section class="section section--alt" id="ecosystem-guides">
<div class="container">
<div class="sec-index">
<span class="num">06</span>
<span class="rule"></span>
<span>LUA 5.4, GAME LOGIC & BUILT-IN MODULES GUIDES</span>
</div>
<div class="sec-grid">
<h2>Complete Lua 5.4.7 IDE Documentation Suite</h2>
<p class="sec-lead">Navigate between the main Offline Lua 5.4 IDE hub and all 5 specialized Lua scripting guides.</p>
</div>
<div class="sec-body">
<div class="py-cluster-grid">
<a href="lua-ide.html" class="py-spoke-card">
<div class="py-spoke-card__top">
<span class="py-spoke-card__code">LUA-HUB</span>
<span class="py-spoke-card__tag">Lua 5.4.7 · 11+ Mods · Pillar Hub</span>
</div>
<h3>Offline Lua 5.4.7 Studio Overview</h3>
<p>Main overview of SuperCode's native ~400µs Lua 5.4.7 engine, 11+ built-in offline modules, multi-file require(), and . vs : AST completion.</p>
<div class="py-spoke-card__go">
<span>lua-ide</span>
<span>Open Guide →</span>
</div>
</a>
<a href="lua-game-scripting-metatables-oop.html" class="py-spoke-card">
<div class="py-spoke-card__top">
<span class="py-spoke-card__code">LUA-01</span>
<span class="py-spoke-card__tag">Entity OOP · Coroutines · ~400µs</span>
</div>
<h3>Game Scripting, Metatables & Coroutines</h3>
<p>Prototype RPG state machines, coroutines, and metatable OOP classes offline for Luau/Roblox, Love2D, and embedded game engines.</p>
<div class="py-spoke-card__go">
<span>lua-game-scripting-metatables-oop</span>
<span>Open Guide →</span>
</div>
</a>
<a href="lua-builtin-modules-cjson-sqlite.html" class="py-spoke-card">
<div class="py-spoke-card__top">
<span class="py-spoke-card__code">LUA-02</span>
<span class="py-spoke-card__tag">cjson · lsqlite3 · lfs · crypto</span>
</div>
<h3>11+ Built-In Modules (cjson, lsqlite3, lfs)</h3>
<p>Require cjson, lsqlite3, lfs (LuaFileSystem), crypto/sha2, regex, base64, socket.http, and inspect out of the box with zero luarocks setup.</p>
<div class="py-spoke-card__go">
<span>lua-builtin-modules-cjson-sqlite</span>
<span>Open Guide →</span>
</div>
</a>
<a href="lua-54-bitwise-close-multifile.html" class="py-spoke-card">
<div class="py-spoke-card__top">
<span class="py-spoke-card__code">LUA-03</span>
<span class="py-spoke-card__tag">64-Bit & | << // · <const>/<close></span>
</div>
<h3>Lua 5.4 Bitwise, <close> & Multi-File</h3>
<p>Use true Lua 5.4 64-bit bitwise operators, integer floor division //, <const>/<close> variables, utf8, and multi-folder require() packages.</p>
<div class="py-spoke-card__go">
<span>lua-54-bitwise-close-multifile</span>
<span>Open Guide →</span>
</div>
</a>
<a href="learn-lua-offline-android.html" class="py-spoke-card is-active">
<div class="py-spoke-card__top">
<span class="py-spoke-card__code">LUA-04</span>
<span class="py-spoke-card__tag">8 Lua Scripts · . vs : AST · PDF</span>
</div>
<h3>Learn Lua Offline on Android</h3>
<p>Master Lua tables, closures, and pattern matching offline with 8 runnable templates, . vs : AST autocomplete, Lua formatter, and PDF export.</p>
<div class="py-spoke-card__go">
<span>learn-lua-offline-android</span>
<span>Viewing Guide</span>
</div>
</a>
<a href="lua-android-crypto-regex-http-automation.html" class="py-spoke-card">
<div class="py-spoke-card__top">
<span class="py-spoke-card__code">LUA-05</span>
<span class="py-spoke-card__tag">crypto · regex · socket.http · lfs</span>
</div>
<h3>Crypto, Regex, HTTP & File Automation</h3>
<p>Automate Android tasks in microseconds with native Lua 5.4.7 backed by BoringSSL crypto/sha2, ICU Unicode regex, OkHttp socket.http (1MB OOM guard), lfs filesystem ops, and 1-tap formatting.</p>
<div class="py-spoke-card__go">
<span>lua-android-crypto-regex-http-automation</span>
<span>Open Guide →</span>
</div>
</a>
</div>
</div>
<div class="sec-foot">
<span>6 Interconnected Lua 5.4.7 Guides · Built-In cjson, lfs, lsqlite3, crypto & socket</span>
<a class="link-arrow" href="lua-ide.html">
<span>Lua 5.4 IDE Hub</span>
<svg aria-hidden="true"><use href="#i-arrow"/></svg>
</a>
</div>
</div>
</section>
</main>
<div class="menu-drawer" id="siteDrawer" hidden>
<nav class="container menu-drawer__inner" aria-label="Full Site Map">
<div class="drawer-top">
<div class="drawer-top__left">
<span class="drawer-top__dot" aria-hidden="true"></span>
<span class="drawer-top__title" data-i18n="sitemap_title">Full Site Map</span>
<span class="drawer-top__badge" data-i18n="sitemap_badge">61 Pages · 32 Languages</span>
</div>
<button type="button" class="drawer-toggle-all" id="drawerToggleAll" data-expanded="false" data-expand-label="Expand All" data-collapse-label="Collapse All">
<svg viewBox="0 0 16 16" aria-hidden="true"><path d="M3.5 8h9M8 3.5v9" stroke="currentColor" stroke-width="1.65" stroke-linecap="round"/></svg>
<span data-i18n="sitemap_expand_all">Expand All</span>
</button>
</div>
<div class="drawer-cols">
<div class="drawer-group">
<div class="drawer-group__title"><span data-i18n="grp_core">Editor & Large Files</span></div>
<div class="drawer-group__list">
<div class="drawer-node">
<div class="drawer-node__row">
<a class="menu-drawer__link" href="index.html"><span class="drawer-link__title" data-i18n="nav_home">Overview</span><svg class="drawer-link__arrow" aria-hidden="true"><use href="#i-arrow"/></svg></a>
</div>
</div>
<div class="drawer-node">
<div class="drawer-node__row">
<a class="menu-drawer__link" href="code-editor.html"><span class="drawer-link__title" data-i18n="nav_code_editor">Code Editor</span><svg class="drawer-link__arrow" aria-hidden="true"><use href="#i-arrow"/></svg></a>
</div>
</div>
<div class="drawer-node">
<div class="drawer-node__row">
<a class="menu-drawer__link" href="large-file-editor.html"><span class="drawer-link__title" data-i18n="nav_large_file">GB Large Files</span><svg class="drawer-link__arrow" aria-hidden="true"><use href="#i-arrow"/></svg></a>
</div>
</div>
</div>
</div>
<div class="drawer-group">
<div class="drawer-group__title"><span data-i18n="grp_lang">Offline Compilers & Languages</span></div>
<div class="drawer-group__list">
<div class="drawer-node" data-hub="python-ide.html">