Building a Compiler - Struct Field Assignment | Live Rust Programming

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ต.ค. 2024
  • Today we get simple struct field assignment working, eg `foo.x := 5`. This is a good start, and we setup a good foundation for working with struct field expressions on the right hand side of the equals sign.
    Also we can now define local variables that are structs such that they are allocated on the stack, but there is still no value initialization!
    Stream date: 2024-07-16
    Support the stream: ko-fi.com/tomm...
    Source: github.com/phy...
    Streamed live @ / tommarkstalkscode
    Follow me at coding.tommark...
    Email: tom@tommarks.xyz

ความคิดเห็น •