mirror of
https://github.com/Noratrieb/uwucc.git
synced 2026-01-16 09:35:07 +01:00
more lowering
This commit is contained in:
parent
e68ec920f5
commit
8bf9849641
7 changed files with 295 additions and 17 deletions
|
|
@ -3,7 +3,8 @@ use std::fmt::Debug;
|
|||
use bitflags::bitflags;
|
||||
use dbg_pls::DebugPls;
|
||||
|
||||
use crate::{sym::Symbol, Spanned};
|
||||
use crate::sym::Symbol;
|
||||
pub use crate::Spanned;
|
||||
|
||||
pub type Ident = Spanned<Symbol>;
|
||||
|
||||
|
|
@ -14,7 +15,7 @@ pub type Ident = Spanned<Symbol>;
|
|||
#[derive(Debug, DebugPls)]
|
||||
pub enum Atom {
|
||||
Ident(Ident),
|
||||
Int(i128),
|
||||
Int(u128),
|
||||
Float(f64),
|
||||
String(String),
|
||||
Char(u8),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue