I fixed Lua

I fixed Lua

Tsoding Daily

11 месяцев назад

52,983 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@oyasumigabriel
@oyasumigabriel - 06.11.2024 18:00

Opa, Brasil mencionado.

Ответить
@umcanalsemvidanoyoutube8840
@umcanalsemvidanoyoutube8840 - 27.10.2024 18:58

Lua best language ever ❤

Ответить
@Myexpectationsarerealistic
@Myexpectationsarerealistic - 25.10.2024 06:44

You broke Lua. It doesn’t use Zero because it’s meant to be a machine independent scripting language.

Ответить
@macchinarirustici
@macchinarirustici - 11.10.2024 22:51

Sadly I've never used Lua but, as soon as I heard "hacking it to make it better", I thought about the array thing. lol

Ответить
@olusiooo2799
@olusiooo2799 - 16.07.2024 21:29

Repair it, it is stoping length of table by nil

Ответить
@19joni69
@19joni69 - 06.07.2024 12:45

Rawr unprotected.... I really think you should be using protection 😁

Ответить
@AshliBlattgold
@AshliBlattgold - 05.06.2024 14:54

rawr unprotected

Ответить
@b-rosa
@b-rosa - 30.05.2024 00:40

"lua" is literally the Portuguese word for moon

Ответить
@daltonyon
@daltonyon - 12.05.2024 05:45

TJ will be happy to see that the 1-based was fixed hahaha

Ответить
@seropigeorge
@seropigeorge - 09.05.2024 03:06

U are literally the best programmer Livestreamer on yt in my opinion

Ответить
@hansdietrich1496
@hansdietrich1496 - 05.05.2024 11:13

I had to translate a lot of matlab code (that is 1-indexed just like lua) into python/numpy code. Since then I have a very solid disgust against any 1-indexed language.

Ответить
@modley_the_m_guy
@modley_the_m_guy - 27.03.2024 01:27

guys i think he fixed lua

Ответить
@kthelemon
@kthelemon - 10.03.2024 19:38

ok now fix python

Ответить
@DoYouScribble2
@DoYouScribble2 - 02.03.2024 18:28

Impressed. I agree, knowing & being able to follow logic is so much more important than the actual language itself. Instead of finding int begin, end with luaK_getlabel then looping through luaK_code, I wonder if you can simply do block(ls); block(ls);

Ответить
@kungfooman
@kungfooman - 28.02.2024 13:23

Whenever I used Lua, I used Luajit - what about that?

Ответить
@alexloktionoff6833
@alexloktionoff6833 - 21.02.2024 14:51

Do you have plans for LuaJIT?

Ответить
@test-rj2vl
@test-rj2vl - 19.02.2024 15:41

Lua devs should add compile time parameter to tell what the first element of array should be. So that I could make game whose scripting engine starts arrays with -2 or with 5.

Ответить
@shaw-krowdashsabe2302
@shaw-krowdashsabe2302 - 13.02.2024 03:00

can you do a tutorial of how to make a progeamming language in c++ im stuck

Ответить
@bart2019
@bart2019 - 11.02.2024 14:31

And now, think of something useful to extend the language with...

Ответить
@verticalpug2026
@verticalpug2026 - 10.02.2024 05:40

- "fixing lua"
- ruins one of the most sensical changes in coding ever done, that, for some reason, almost NOBODY thought of beforehand

Ответить
@kirsanov2008
@kirsanov2008 - 08.02.2024 10:13

I FKN LOVE THE POWER OF SIMPLICITY!!!

Ответить
@awesomeguy11000
@awesomeguy11000 - 06.02.2024 04:14

I wonder if it would have been possible to backup the lexerstate and effectively run the lexer over the double body twice to get the goto statements into the internal backpatching system.

Ответить
@Muttisuri
@Muttisuri - 05.02.2024 00:46

Yes Portuguese is Latin based, and Lua is our word for Moon yes.
It's to note that Lua (the language) was made in Brazil where Portuguese (of the Brazilian variation (duh)) is spoken. Reading the wiki tells me that there were some trade barriers on software importation which lead to its creation, also seems that Lua was preceded by a language called SOL (Simple Object Language) but in Portuguese Sol mean Sun, so Sun and Moon.

Ответить
@samuelwaller4924
@samuelwaller4924 - 04.02.2024 23:38

I was considering doing something similar to this for my capstone and this guy just sits down and does it in 2 hours lol. Talking the whole time as well. I spent an hour just getting to understand the parser an gave up lol

Ответить
@Solemn_Lemon
@Solemn_Lemon - 04.02.2024 17:38

You fixed Lua? Why? It's part of the experience!

Ответить
@SamArmstrong-DrSammyD
@SamArmstrong-DrSammyD - 03.02.2024 07:51

So… you made Lua—

Ответить
@stevenaguilera9202
@stevenaguilera9202 - 03.02.2024 05:56

Do you know of any resources on how to write and build a website in Lua ?🙏

Ответить
@cacheman
@cacheman - 03.02.2024 05:06

The Roblox people went off and wrote luau-lang which is an "improved lua". Remains to be seen if it'll gain any traction.

Ответить
@azergante8268
@azergante8268 - 02.02.2024 21:43

Can you hack into Rust and fix what’s wrong with it?

Ответить
@xarchist
@xarchist - 02.02.2024 06:55

Is the code for emacs lua-mode longer than the actual lua interpreter?

Ответить
@PavelAShvedov
@PavelAShvedov - 01.02.2024 21:43

Waited for double block inside another double block

Ответить
@norude
@norude - 01.02.2024 19:06

what if you jump into the double block?
or even jump into a condition or a function or a loop.


So basically goto is weird

Ответить
@nashiora
@nashiora - 31.01.2024 22:45

With the complication of non-local jumps and `goto`, my first thought was to instead just transform `double` into `for i=1,2 do`, i.e. make double less a macro and more a loop so it plays nicely with the relative jumps. I probably would've done this from the start, but it's neat to see you took the code duplication approach first and found out interesting things about the byte code.
(edit: I clicked post about 5 seconds before you mentioned the easy solution was to implement it as a loop, forgive me for my hubris haha)

Ответить
@adr420
@adr420 - 31.01.2024 19:08

I write my neovim config in lua

Ответить
@logannday
@logannday - 31.01.2024 17:11

I’d love to see you write an lsp for porth

Ответить
@petromudrievskyj
@petromudrievskyj - 31.01.2024 13:13

Jebated. You've actually only broken things

Ответить
@elgalas
@elgalas - 31.01.2024 09:52

Gonna take note of, Asserting dominance, when joining a new project.

Ответить
@MyriadColorsCM
@MyriadColorsCM - 31.01.2024 07:50

Impressive, very nice.

Now lets see Paul Allen's fix for Javascript.

Ответить
@labsendeyshent
@labsendeyshent - 31.01.2024 07:40

This lua-mode for emacs 💀

Ответить
@HumanGamer
@HumanGamer - 31.01.2024 03:22

Can you work on your text editor again soon :) I really enjoyed that project.

Ответить
@orizach01
@orizach01 - 31.01.2024 02:31

can you fix python and make True -> true, and False -> false

Ответить
@dickpiano1802
@dickpiano1802 - 31.01.2024 00:07

Man...  Цoding... what a guy!!!

Ответить
@bobtheoutbuilder8552
@bobtheoutbuilder8552 - 30.01.2024 21:52

Almost 100k wtf

Ответить
@DobryWujaszekKun
@DobryWujaszekKun - 30.01.2024 20:39

> Doesn't fucking matter so that's important
xDDDDD

Ответить
@DimaTiunov
@DimaTiunov - 30.01.2024 20:17

Pogroming
My life

Ответить