Skip to content

Create polynomial struct for ast polynomial parsing #30

@dawnandrew100

Description

@dawnandrew100

The AST parser is currently being worked on

After it's done, the final AST should be represented in a single Expr composed of components from the Expr enum listed below

pub enum Expr {
    Number(f64),
    Variable(String),
    Constant(Constants),
    Function(Functions, Box<Expr>),
    BinaryOp(Operators, Box<Expr>, Box<Expr>),
}

The polynomial struct for this should look something like

struct PolynomialAST {
    Expr: Expr
}

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions