Ygg-Drasill / Sleipnir

Compiler for Ygg-Drasill Programming Language
MIT License
2 stars 1 forks source link

[Task]: Create Tokens #15

Open MathiasFM opened 8 months ago

MathiasFM commented 8 months ago

Goal

We need to create a "go" enum of the tokens we need.

Ex.

const (
  token1 TokenType = iota
  token2
)

Task Description

  1. Make a list of the tokens needed
  2. Place them inside an enumerate
github-actions[bot] commented 8 months ago

Hail, MathiasFM! Welcome to the realms of Ygg-Drasill. Your first issue opens a new leaf on the great tree.

alexrefshauge commented 8 months ago

Tror denne task hænger for meget sammen med #12 (Finish lexer). De forskellige token typer, som Gustav har skrevet ind i excel arket, er blevet defineret i feature/lexer. Til gengæld har vi nogle specielle tokens så som "->", som vi skal have fundet ud hvilken token type de er?