kscope

command
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2026 License: BSD-3-Clause Imports: 7 Imported by: 0

README

NAME

kscope - compiler frontend

DESCRIPTION

Kscope implements a compiler frontend for a toy language kaleidoscope. The project follows LLVM tutorial on the subject.

Documentation

Overview

Kscope parses a file using "kaleidoscope" syntax and prints parsed source.

SYNOPSIS

kscope file.ks

Directories

Path Synopsis
internal
ast
Package ast describes Abstract Syntax Tree (AST) nodes.
Package ast describes Abstract Syntax Tree (AST) nodes.
lex
Package lex implements lexer.
Package lex implements lexer.
parser
Package parser generates an Abstract Syntax Tree (AST) from a sequence of tokens, generated by lexer.
Package parser generates an Abstract Syntax Tree (AST) from a sequence of tokens, generated by lexer.

Jump to

Keyboard shortcuts

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