day_20

package
v0.0.0-...-0235693 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Location rune = 'X'
	Space    rune = '.'
	Wall     rune = '#'
	VDoor    rune = '|'
	HDoor    rune = '-'
	Door     rune = '+'
	Unknown  rune = '?'
)

Variables

This section is empty.

Functions

func Part1

func Part1()

func Part2

func Part2()

Types

type Regex

type Regex struct {
	Elts []*RegexElt
}

func ParseRegex

func ParseRegex(s string) (*Regex, error)

func (*Regex) Dump

func (r *Regex) Dump(level int) string

type RegexElt

type RegexElt struct {
	Value    rune
	Branches []*Regex
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL