Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
05cf11c
fix: fixed parser where statement parsing on styles wouldnt expect fo…
cykna May 20, 2026
c2aa238
fix: fixed error where statements were silently dropped
cykna May 20, 2026
970ce82
fix: fixed errors related to variables allocated inside styles and ty…
cykna May 21, 2026
2d93a9d
fix: fixed error where component property werent read by the ir
May 21, 2026
674289a
feat: implemented style initialization tracking for specialized compo…
May 21, 2026
86184c3
docs: documented possible ir rewrite
May 21, 2026
fc5c6fb
refactor: changed 'checker' to be 'type checker'
cykna May 19, 2026
d46cccc
refactor: renamed slynx_ir to be now simply 'ir'
May 22, 2026
d67db86
fix: fixed incorrect error range
cykna May 19, 2026
a700c1d
refactor: refactored hir to remove 'implementation' folder
cykna May 19, 2026
185298a
docs: documented code organization
cykna May 19, 2026
521e79e
refactor: reexport models on hir
cykna May 19, 2026
1a407b7
refactor: refactored names on hir generation
cykna May 19, 2026
34e8f03
docs: updated project organization documentation
cykna May 19, 2026
8177355
refactor: refactored type checker and errors
cykna May 20, 2026
4d96632
refactor: refactored ir
May 22, 2026
cfdadac
refactor: refactored multiple 'generate_*_instruction' into a single …
cykna May 20, 2026
7690b45
refactor: refactored lexer to use macros
cykna May 20, 2026
3c1847d
refactor: refactored code on symbols module and scopes module
cykna May 20, 2026
64d49cf
refactor: refactored ir and type checker unification
cykna May 20, 2026
6a612ec
fix: fixed incorrect function after rebase
May 22, 2026
ef590a3
fix: readded shit that was removed from parent upon rebase
May 22, 2026
5d5b312
Merge pull request #137 from Slynx-Language/refactor/project-organiza…
cykna May 22, 2026
48ce2ba
fix: fixed clippy and format errors
May 22, 2026
36850dc
docs: documented stylesheets on the codebase
May 22, 2026
f5f1dda
docs: documented about states and corrected some typos
May 22, 2026
e17664e
fix: fixed typo
May 22, 2026
9c1a8ef
docs: documented about animations
May 22, 2026
93f1196
docs(fix): fixed typo
May 22, 2026
13a4d3f
Merge pull request #135 from Slynx-Language/feat/stylings
cykna May 22, 2026
5fde917
chore: forgot cargo lock
cykna May 23, 2026
af9f1c4
Merge branch 'main' into refactor/ir-builder
cykna May 23, 2026
5bfc985
chore: hoisted petgraph to workspace deps and renamed codegen crate
cykna May 23, 2026
e5d6a69
refactor(ir): remove lifetime parameter, SlynxIR owns SymbolsModule
cykna May 24, 2026
962a4db
refactor(codegen): remove TempIRData lifetime, restructure Codegen to…
cykna May 24, 2026
4f37b36
cleanup: remove stale IRError handling from main crate
cykna May 24, 2026
bfde24a
docs: update project organization for ir/codegen create/build pattern
cykna May 24, 2026
a94c657
refactor: refactored hir to have less query functions and rewrote it …
cykna May 24, 2026
7ef3a00
refactor: removed unused code
cykna May 24, 2026
9493a1e
chore: made a lot of methods on hir to be public only to the hir itself
cykna May 24, 2026
df7ecc8
chore: removed duplicated function and its usage
cykna May 24, 2026
d8166d9
Merge pull request #140 from Slynx-Language/chore/hir-query-methods
cykna May 24, 2026
a9cc4bb
chore: refactored symbol pointer to have contex in it to prevent HIR …
cykna May 24, 2026
81ca0cd
refactor: refactored hir to use symbol pointer with its own type as m…
cykna May 24, 2026
6003592
docs: documented how string interning works
cykna May 24, 2026
c3a83f8
Merge pull request #141 from Slynx-Language/refactor/context-symbols
cykna May 24, 2026
fbae4c1
ir: Re-export SymbolPointer as crate-level type alias and migrate int…
cykna May 24, 2026
95fcb87
ir: Migrate label creation API to accept &str instead of SymbolPointer
cykna May 24, 2026
a7577d1
ir: Add Deref<Target=IRTypes> impl and remove legacy pass-through acc…
cykna May 24, 2026
302cd3d
ir: Expand view layer with batch queries, value helpers, and dedicate…
cykna May 24, 2026
0ecf2ad
codegen: Replace IRError with CodegenError, remove TempIRData, and sp…
cykna May 24, 2026
14338c2
codegen: Add naming conventions documentation
cykna May 24, 2026
dcd4680
chore: removed usage of temp data in expressions
cykna May 24, 2026
9aea138
refactor: organized ir views and added method to ir batch viewer
cykna May 24, 2026
edea6b9
refactor: rewrote how function and label builders work
cykna May 25, 2026
71cecdb
refactor: rewrote some minimal logic on how methods on codegen genera…
cykna May 25, 2026
a834c1b
ir: flat instruction storage, SSA-by-construction FunctionBuilder, an…
cykna May 30, 2026
0fb11ca
ir: component builder, CFG rewrite with Opcode-based successor analys…
cykna May 30, 2026
fde0868
hir: make modules public, add get_name_of_type helper
cykna May 30, 2026
a63ac2b
type_checker: use owned-HIR API, track variable types during type che…
cykna May 30, 2026
0dc7dca
monomorphizer: simplify API by removing separate types_module parameter
cykna May 30, 2026
7c91854
parser: enforce semicolon after stylesheet statements
cykna May 30, 2026
d8cae02
codegen: multi-phase lowering with style inheritance, component child…
cykna May 30, 2026
2533405
compilation_context: adapt to new codegen, type_checker, and monomorp…
cykna May 30, 2026
cd51395
fix: fixed compile errors on the compilation context
cykna May 30, 2026
7ab7c36
fix: fixed building styles
cykna Jun 1, 2026
bf7bb06
feat: added getchild opcode
cykna Jun 1, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ resolver="2"
smallvec = "1.15.1"
color-eyre = "0.6.5"
common = {path="./crates/common"}
petgraph = "0.8.3"

[dependencies]
clap={ version = "4.5.52", features = ["derive"] }
Expand All @@ -20,6 +21,7 @@ slynx-hir.path="./crates/hir"
slynx-typechecker.path="./crates/type_checker"
slynx-monomorphizer.path="./crates/monomorphizer"
slynx-ir.path="./crates/ir"
slynx-codegen.path="./crates/codegen"

[workspace]
members = ["crates/*"]
6 changes: 5 additions & 1 deletion crates/codegen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
[package]
name = "codegen"
name = "slynx-codegen"
version = "0.1.0"
edition = "2024"

[dependencies]
slynx-hir.path="../hir"
petgraph.workspace=true
smallvec.workspace=true
slynx-ir.path="../ir"
common.path="../common"
3 changes: 3 additions & 0 deletions crates/codegen/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Naming convention

Lower -> Transforms an HIR struct into IR equivalent
Loading