Parsing Lisp with Rust (Tula Ep.03)

  Рет қаралды 12,968

Tsoding Daily

Tsoding Daily

23 күн бұрын

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
@Dr-Zed
@Dr-Zed 16 күн бұрын
Whoa, having twitch chat as captions is amazing!
@cobbcoding
@cobbcoding 21 күн бұрын
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 15 күн бұрын
dude cobb isacc i didn't expect you here but ok
@androth1502
@androth1502 21 күн бұрын
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_ 16 күн бұрын
i agree, but all the vods are available on his twitch channel too ^^
@blackbeard3449
@blackbeard3449 2 күн бұрын
​@@renzei_i believe twitch only preserves vods for a limited amount of time and auto deletes older videos
@Czeckie
@Czeckie 19 күн бұрын
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 21 күн бұрын
You have to look into Product types! "let Pairs = Integers x Integers" is pretty pog
@anon_y_mousse
@anon_y_mousse 21 күн бұрын
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 21 күн бұрын
pretty scary preview
@JohnKouts
@JohnKouts 16 күн бұрын
We need Tsoding merchandise!!!
@hubstrangers3450
@hubstrangers3450 17 күн бұрын
Thank you....
@foxwhite25
@foxwhite25 21 күн бұрын
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 21 күн бұрын
Isn’t beta precisely between nightly and stable?
@fiona9891
@fiona9891 21 күн бұрын
feature flags are already how nightly works though so i'm not sure what the benefit would be here
@lowlevelcodingch
@lowlevelcodingch 20 күн бұрын
" Parsing Lips with Rust "
@AK-vx4dy
@AK-vx4dy 21 күн бұрын
Can you elaborate or link episode for reasons of hate for Lisp and Rust?
@heyclore5728
@heyclore5728 21 күн бұрын
Not only does he hate Lisp and Rust, but he also hate all programming languages. :v
@AK-vx4dy
@AK-vx4dy 20 күн бұрын
@@heyclore5728 But in "I will write only in machine code" or "I will invent my own better"? 😉
@Tigregalis
@Tigregalis 19 күн бұрын
@@AK-vx4dy In "languages are just tools and they all have flaws"
@cctes9269
@cctes9269 19 күн бұрын
@@AK-vx4dy I think it's just his way of expressing his cynicism about online programming language debate.
@xmajedz_3246
@xmajedz_3246 19 күн бұрын
russian programmer screams at rust
@russinmoder4931
@russinmoder4931 21 күн бұрын
определенно нужно выложить на ютуб весь путь к рабочей туле, очень интересно сесть посмотреть, но я не могу быть на стримах
@SimGunther
@SimGunther 21 күн бұрын
Isn't it just reverse Forth parsing with extra steps and parenthesis counting?
@iglobrothers645
@iglobrothers645 21 күн бұрын
The subtitles : 💀
@lame_lexem
@lame_lexem 21 күн бұрын
this is how many people upload twitch VODs with the chat history
@salim444
@salim444 21 күн бұрын
Am I high or is tula repo on github is just a README?
@horempatorhoremski6627
@horempatorhoremski6627 20 күн бұрын
In readme "The Source Code will be available as soon as I feel like the project is ready."
@Ikkepop
@Ikkepop 18 күн бұрын
now parse rust with lisp
@jackedits1234
@jackedits1234 20 күн бұрын
Rust, the language of the chosen people
@pault.8772
@pault.8772 16 күн бұрын
31:14 mah vim can do (most of) dat, but I feel insecure now :-|
@lowlevelcodingch
@lowlevelcodingch 12 күн бұрын
Zozin, use more abstraction.
@happygofishing
@happygofishing 21 күн бұрын
SHUT IT DOWN
@velikanskaglava2087
@velikanskaglava2087 21 күн бұрын
Rust becoming popular?
@happygofishing
@happygofishing 21 күн бұрын
Rust is already popular in the domain of game engines that have no games 😊
@wtfisgoingon535
@wtfisgoingon535 21 күн бұрын
@@happygofishing Factually false 😉
@sofiaknyazeva
@sofiaknyazeva 21 күн бұрын
There are 5 games and 50 game engines written in Rust.
@happygofishing
@happygofishing 21 күн бұрын
@@sofiaknyazeva veloren is decent one.
@levinduest
@levinduest 21 күн бұрын
​@@happygofishingVeloren is the only one.
Can C actually do Perfect Bézier Curves?
2:17:22
Tsoding Daily
Рет қаралды 6 М.
Unreasonably Easy Console Apps in Rust
1:54:16
Tsoding Daily
Рет қаралды 87 М.
Trágico final :(
01:00
Juan De Dios Pantoja
Рет қаралды 24 МЛН
Stupid man 👨😂
00:20
Nadir Show
Рет қаралды 28 МЛН
【獨生子的日常】让小奶猫也体验一把鬼打墙#小奶喵 #铲屎官的乐趣
00:12
“獨生子的日常”YouTube官方頻道
Рет қаралды 108 МЛН
小路飞姐姐居然让路飞小路飞都消失了#海贼王  #路飞
00:47
路飞与唐舞桐
Рет қаралды 69 МЛН
I hope FFmpeg's Twitter won't Cancel me for This...
2:27:17
Tsoding Daily
Рет қаралды 19 М.
The Most Bizarre and Fascinating Project I've seen!
1:55:16
Tsoding Daily
Рет қаралды 39 М.
Compiling MS-DOS 4.0 using DOSbox & Qemu
17:59
Neozeed
Рет қаралды 3,3 М.
Is C++ better than C?
1:46:10
Tsoding Daily
Рет қаралды 27 М.
the new PS4 jailbreak is sort of hilarious
12:21
Low Level Learning
Рет қаралды 24 М.
My Next Video Project (Tula Ep.01)
2:06:05
Tsoding Daily
Рет қаралды 28 М.
Machine Learning in C (Episode 1)
2:31:07
Tsoding Daily
Рет қаралды 208 М.
Trying Zig Part 1
1:30:00
TheVimeagen
Рет қаралды 61 М.
DIY Programming Language #1: The Shunting Yard Algorithm
37:10
Hiding Data Inside of Executable Files
1:55:14
Tsoding Daily
Рет қаралды 24 М.
How Neuralink Works 🧠
0:28
Zack D. Films
Рет қаралды 28 МЛН
What % of charge do you have on phone?🔋
0:11
Diana Belitskay
Рет қаралды 346 М.
Обманет ли МЕНЯ компьютерный мастер?
20:48
Харчевников
Рет қаралды 125 М.
Обманет ли МЕНЯ компьютерный мастер?
20:48
Харчевников
Рет қаралды 125 М.