Skip to content

calc1f4r/low-evm-notes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Yul Notes

Welcome to my Yul notes. Here, I will document important information and insights about Yul, the intermediate language for Ethereum smart contracts.

Table of Contents

  1. Introduction to Yul
  2. Basic Syntax
  3. Control Structures
  4. Functions
  5. Memory and Storage
  6. Examples

Introduction to Yul

Yul is an intermediate language designed for the Ethereum blockchain. It is used to write low-level code that can be compiled to EVM (Ethereum Virtual Machine) bytecode.

Basic Syntax

  • Variables
  • Constants
  • Operations

Control Structures

  • If statements
  • Switch statements
  • For loops
  • While loops

Functions

  • Defining functions
  • Calling functions
  • Function returns

Memory and Storage

  • Memory management
  • Storage management

Examples

  • Example 1: Simple addition
  • Example 2: Conditional logic
  • Example 3: Looping constructs

Feel free to add more sections as needed.

About

Yul notes to learn about the ins and outs of yul

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published