Update copyright header
This commit is contained in:
parent
618200dc42
commit
e8fbae9837
@ -1,3 +1,5 @@
|
||||
// © 2023-2024 John Breaux
|
||||
//See LICENSE.md for license
|
||||
//! Simple frontend for the assembler
|
||||
#![feature(decl_macro)]
|
||||
use argp::parse_args_or_exit;
|
||||
|
@ -1,3 +1,5 @@
|
||||
// © 2023-2024 John Breaux
|
||||
//See LICENSE.md for license
|
||||
//! Assembles a binary using the given [AST](crate::parser::ast)
|
||||
|
||||
use error::{AResult, ErrorKind::*};
|
||||
|
@ -1,4 +1,5 @@
|
||||
// © 2023-2024 John Breaux
|
||||
//See LICENSE.md for license
|
||||
//! The [Lexer] turns a [sequence of characters](str) into a stream of
|
||||
//! [lexically-tagged tokens](token)
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
// © 2023-2024 John Breaux
|
||||
//See LICENSE.md for license
|
||||
//! A [Token] is a [semantically-tagged](TokenKind) [sequence of characters](str) and a [Span]
|
||||
//!
|
||||
//! [Tokens](Token) are a borrowed, and cannot outlive their source slice (lifetime `'t`)
|
||||
|
@ -1,4 +1,5 @@
|
||||
// © 2023 John Breaux
|
||||
// © 2023-2024 John Breaux
|
||||
//See LICENSE.md for license
|
||||
//! A bare-bones toy assembler for the TI MSP430, for use in MicroCorruption
|
||||
//!
|
||||
//! This project aims to assemble any valid msp430 instructions, while including important quality
|
||||
|
@ -1,4 +1,5 @@
|
||||
// © 2023-2024 John Breaux
|
||||
//See LICENSE.md for license
|
||||
//! Parses [`Tokens`](crate::lexer::token::Token) into an [abstract syntax tree](ast)
|
||||
pub mod ast;
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
// © 2023-2024 John Breaux
|
||||
//See LICENSE.md for license
|
||||
/// Represents MSP430 instructions,
|
||||
use crate::{
|
||||
lexer::token::{self, Reg, Token},
|
||||
|
@ -1,4 +1,6 @@
|
||||
// © 2023-2024 John Breaux
|
||||
//See LICENSE.md for license
|
||||
//! Preprocesses a token stream by removing and replacing tokens according to `.define` directives
|
||||
|
||||
use crate::{
|
||||
lexer::{
|
||||
|
@ -1,3 +1,5 @@
|
||||
// © 2023-2024 John Breaux
|
||||
//See LICENSE.md for license
|
||||
//! A [Span] is a [Range] that does not implement [Iterator]. It is a [Copy] type.
|
||||
use std::{
|
||||
fmt::{Debug, Display},
|
||||
|
Loading…
Reference in New Issue
Block a user