Building an AST for the custom programming language

submitted by CodiUnicorn to events
1 points | 0 comments

The next part in a series of live talks on building a custom programming language using C++ is dedicated to creating an AST. This session will lay the groundwork for everything that comes next in this language implementation journey: semantic analysis, evaluation, and beyond.

Join the live session to dive deeper into compiler design.

The operator ^ for exponentiation or for excluding: how not to confuse them?

submitted by CodiUnicorn to golang
3 points | 0 comments
https://pvs-studio.com/en/blog/posts/go/1350/

Gophers, hey. Confusing ^ with exponentiation instead of XOR in Go seems like a pretty easy mistake to make. The bug itself is simple, but it still shows up even in some well-known projects with large codebases.

How often does this happen in your code?

Page 1