This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"math/rand" | |
"strconv" | |
"strings" | |
"time" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module interpreters | |
go 1.21 | |
require ( | |
github.com/dop251/goja v0.0.0-20231027120936-b396bb4c349d | |
github.com/mymmrac/x v0.0.0-20231103184157-cf259b37ba38 | |
github.com/traefik/yaegi v0.15.1 | |
github.com/yuin/gopher-lua v1.1.0 | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"context" | |
_ "embed" | |
"fmt" | |
"image/color" | |
"os" | |
"os/signal" | |
"sync" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import annotations | |
import math | |
from enum import Enum | |
from typing import List | |
class TokenType(Enum): | |
LPAREN = 1 | |
RPAREN = 2 |