Parsing Lisp with Rust (Tula Ep.03)

  Рет қаралды 13,809

Tsoding Daily

Tsoding Daily

Ай бұрын

Tula Playlist: • Tula
Streamed Live on Twitch: / tsoding
References:
- Tsoding - Tula - github.com/tsoding/tula
- Wikipedia - S-expressions - en.wikipedia.org/wiki/S-expre...
- ReactOS - reactos.org/
- Tsoding - Noq - github.com/tsoding/noq
Support:
- BTC: bc1qj820dmeazpeq5pjn89mlh9lhws7ghs9v34x9v9
- Pay for my VPS: zap-hosting.com/en/shop/donat...

Пікірлер: 44
@androth1502
@androth1502 Ай бұрын
valuable content shouldn't be kept hidden and a lot of us can't make the schedule of watching streams. i think you should publish all the eepers episodes.
@renzei_
@renzei_ Ай бұрын
i agree, but all the vods are available on his twitch channel too ^^
@blackbeard3449
@blackbeard3449 20 күн бұрын
​@@renzei_i believe twitch only preserves vods for a limited amount of time and auto deletes older videos
@cobbcoding
@cobbcoding Ай бұрын
I would really like to see the eepers vods, as I didn't get to catch most of the streams. Love watching grumpy zozin
@wafinashwan8242
@wafinashwan8242 Ай бұрын
dude cobb isacc i didn't expect you here but ok
@Dr-Zed
@Dr-Zed Ай бұрын
Whoa, having twitch chat as captions is amazing!
@Czeckie
@Czeckie Ай бұрын
2:39:00 cool idea. not that it matters, but that won't be turing machine anymore. Such a machine would have infinite alphabet and infinite number of states. Infinite state machine with recursive states would be easily simulated in finite state machine using a piece of tape for state simulation. This could go further. Instead of [a+b] you could have result of any other turing machine lol. If Integer arithmetic and so on wouldn't be a magic part of the language, but something that has to be provided as another tula program, that would quickly kill any danger of being useful.
@andrehedesand681
@andrehedesand681 Ай бұрын
You have to look into Product types! "let Pairs = Integers x Integers" is pretty pog
@anon_y_mousse
@anon_y_mousse Ай бұрын
Now I'm wondering how many people know of the vulnerability of calling programs with execv*() since the given argument list may not actually include the program name. Accordingly, you should probably be using env::current_exe instead of env::args for the actual program name. Also, for formatting, especially when using line numbers, I always pad out to at least 4 digits as a default, whether using spaces or 0's to pad. Looking at it written out, I think I understand better why so many languages eschew using = for named parameters, because it looks cursed, but even more so in a formatting print function. For my own language I opted to do a sort of f-string type thing like Python, but I made every string an f-string. Whether you're just assigning to a variable or printing, you could just do "${ 4:line_count}" and it would do a space padded 4 digit representation for the current line count. So my generic print function just takes a flat set of values and does no printf() style processing, but I do also provide my own printf() as well. I also don't like the concept of todo!() that Rust uses, nor that it doesn't warn by default on shadowed variables. Additionally, it is far too noisy of a language. It's like they're aiming for copying C++ but in their own weird syntax that's impossible for a newbie to understand and will make skill transfer more difficult.
@rkc137
@rkc137 Ай бұрын
pretty scary preview
@JohnKouts
@JohnKouts Ай бұрын
We need Tsoding merchandise!!!
@hubstrangers3450
@hubstrangers3450 Ай бұрын
Thank you....
@AK-vx4dy
@AK-vx4dy Ай бұрын
Can you elaborate or link episode for reasons of hate for Lisp and Rust?
@heyclore5728
@heyclore5728 Ай бұрын
Not only does he hate Lisp and Rust, but he also hate all programming languages. :v
@AK-vx4dy
@AK-vx4dy Ай бұрын
@@heyclore5728 But in "I will write only in machine code" or "I will invent my own better"? 😉
@Tigregalis
@Tigregalis Ай бұрын
@@AK-vx4dy In "languages are just tools and they all have flaws"
@cctes9269
@cctes9269 Ай бұрын
@@AK-vx4dy I think it's just his way of expressing his cynicism about online programming language debate.
@foxwhite25
@foxwhite25 Ай бұрын
Thats why I just use nightly and deal with it, all these "unstable" features, like 99% of these features are fine, just have to read through the issue and ensure it doesn't segfault your programme. It would be interesting to introduce some level of stability between unstable and stable, where it allow you to use the feature (behind a flag) on the stable compiler, but retain the freedom to change or remove the feature if circumstances demand it.
@damienstanton
@damienstanton Ай бұрын
Isn’t beta precisely between nightly and stable?
@fiona9891
@fiona9891 Ай бұрын
feature flags are already how nightly works though so i'm not sure what the benefit would be here
@lowlevelcodingch
@lowlevelcodingch Ай бұрын
" Parsing Lips with Rust "
@SimGunther
@SimGunther Ай бұрын
Isn't it just reverse Forth parsing with extra steps and parenthesis counting?
@russinmoder4931
@russinmoder4931 Ай бұрын
определенно нужно выложить на ютуб весь путь к рабочей туле, очень интересно сесть посмотреть, но я не могу быть на стримах
@iglobrothers645
@iglobrothers645 Ай бұрын
The subtitles : 💀
@lame_lexem
@lame_lexem Ай бұрын
this is how many people upload twitch VODs with the chat history
@salim444
@salim444 Ай бұрын
Am I high or is tula repo on github is just a README?
@horempatorhoremski6627
@horempatorhoremski6627 Ай бұрын
In readme "The Source Code will be available as soon as I feel like the project is ready."
@xmajedz_3246
@xmajedz_3246 Ай бұрын
russian programmer screams at rust
@Ikkepop
@Ikkepop Ай бұрын
now parse rust with lisp
@jackedits1234
@jackedits1234 Ай бұрын
Rust, the language of the chosen people
@pault.8772
@pault.8772 Ай бұрын
31:14 mah vim can do (most of) dat, but I feel insecure now :-|
@lowlevelcodingch
@lowlevelcodingch 29 күн бұрын
Zozin, use more abstraction.
@happygofishing
@happygofishing Ай бұрын
SHUT IT DOWN
@velikanskaglava2087
@velikanskaglava2087 Ай бұрын
Rust becoming popular?
@happygofishing
@happygofishing Ай бұрын
Rust is already popular in the domain of game engines that have no games 😊
@wtfisgoingon535
@wtfisgoingon535 Ай бұрын
@@happygofishing Factually false 😉
@sofiaknyazeva
@sofiaknyazeva Ай бұрын
There are 5 games and 50 game engines written in Rust.
@happygofishing
@happygofishing Ай бұрын
@@sofiaknyazeva veloren is decent one.
@levinduest
@levinduest Ай бұрын
​@@happygofishingVeloren is the only one.
Is this the Future of Programming Languages?
2:53:18
Tsoding Daily
Рет қаралды 62 М.
Rust Command Line Argument Parsing (A Better Way With Clap)
5:46
Code to the Moon
Рет қаралды 29 М.
La final estuvo difícil
00:34
Juan De Dios Pantoja
Рет қаралды 29 МЛН
How I prepare to meet the brothers Mbappé.. 🙈 @KylianMbappe
00:17
Celine Dept
Рет қаралды 56 МЛН
You want to learn Haskell. This is why.
3:00
peppidesu
Рет қаралды 102 М.
Rust for TypeScript devs : Borrow Checker
8:49
ThePrimeagen
Рет қаралды 211 М.
SmoothLife
1:16
Salvador Limones
Рет қаралды 16 М.
I regret doing this...
1:20:07
Tsoding Daily
Рет қаралды 62 М.
Hiding Data Inside of Executable Files
1:55:14
Tsoding Daily
Рет қаралды 24 М.
Lisp in 100 Seconds
2:39
Fireship
Рет қаралды 448 М.
Why Do I Have Weird Line Numbers in My Editor?
1:29
Tsoding Daily
Рет қаралды 34 М.
Moving from C to Rust for embedded software development
10:06
The Rusty Bits
Рет қаралды 76 М.
Will Ada Replace C/C++?
44:57
Tsoding
Рет қаралды 79 М.
Rust Tip - Into String as Function Arguments
2:56
Jeremy Chone
Рет қаралды 16 М.
Huawei который почти как iPhone
0:53
Romancev768
Рет қаралды 609 М.
wyłącznik
0:50
Panele Fotowoltaiczne
Рет қаралды 23 МЛН