Solving Project Euler (easy) problems in Lua.

73 views
Skip to first unread message

vamsi kalapala

unread,
Jun 10, 2025, 4:37:00 PMJun 10
to lua-l
I am learning/using Lua to solve Project Euler problems in Lua. Would it be OK, if I requested a code-review? I am attaching the lpelib.c file with this email. I have so far written some helper functions to solve problems 1 through 10 of Project Euler.

Thanks,
Vamsi
lpelib.c

Luiz Henrique de Figueiredo

unread,
Jun 10, 2025, 4:50:05 PMJun 10
to lu...@googlegroups.com
I think you should try solutions in pure Lua. It’ll be much more fun.

Ką Mykolas

unread,
Jun 11, 2025, 2:31:46 PMJun 11
to lu...@googlegroups.com
On Tue, Jun 10, 2025 at 11:37 PM vamsi kalapala <vamsi1...@gmail.com> wrote:
>
> I am learning/using Lua to solve Project Euler problems in Lua. Would it be OK, if I requested a code-review? I am attaching the lpelib.c file with this email. I have so far written some helper functions to solve problems 1 through 10 of Project Euler.

Been doing that as well :) Also, the annual Lua fueled Advent of Code challenge!
Reply all
Reply to author
Forward
0 new messages