Skip to content
This repository was archived by the owner on Feb 26, 2018. It is now read-only.
This repository was archived by the owner on Feb 26, 2018. It is now read-only.

Support Builtin Function #12

@at15

Description

@at15

In order to perform things like query from database, we either define special syntax or use a function

  • query { select from a where value < c }
  • query("select from ${a} where value < ${c} and time > ${t}")

I prefer the function one (at least now), also there will be function like abs, avg in normal SQL languages.
Introduce function requires some improvement in type checking #4 ,

  • built in function symbols should be pre loaded into symbol table
  • can't define variable that use the same ID as built in functions
  • check variable type when build the AST
  • logic for ExpStat in evaluation, it is currently empty

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions