Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
Hels15 authored Jun 9, 2024
2 parents c18344e + 4f04f85 commit ee889cd
Show file tree
Hide file tree
Showing 9 changed files with 876 additions and 67 deletions.
6 changes: 6 additions & 0 deletions Include/codegen/codegen.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,12 @@ class DonsusCodeGenerator {
utility::handle<donsus_ast::node> &ast,
utility::handle<DonsusSymTable> &table);

llvm::Value *visit(donsus_ast::range_for_loop &ac_ast,
utility::handle<DonsusSymTable> &table);

llvm::Value *visit(donsus_ast::array_for_loop &ac_ast,
utility::handle<DonsusSymTable> &table);

llvm::Value *visit(utility::handle<donsus_ast::node> &ast,
donsus_ast::return_kw &ca_ast,
utility::handle<DonsusSymTable> &table);
Expand Down
12 changes: 9 additions & 3 deletions docs/source/glossary.rst
Original file line number Diff line number Diff line change
Expand Up @@ -222,12 +222,18 @@ a region of storage, so you can take its address::
Objects
~~~~~~~~~~~~

---

.. _types:

Types
~~~~~~~~~~~~
~~~~~~~~~

Donsus offers a various range of types for specific purposes depending on the context. Here are the accepted types::
- integer
- void
- bool
- float
- string

implicit
~~~~~~~~~~~~
Expand Down
Loading

0 comments on commit ee889cd

Please sign in to comment.