-
4fada0036c
Fix debug info for structs
main
sofia
2025-07-31 23:25:46 +0300
-
4f0ee72c83
Edit example a bit, fix macro generation in function parameters
sofia
2025-07-31 22:48:16 +0300
-
deed96bbfd
Fix bitwise operators requiring U64 for rhs
sofia
2025-07-31 22:17:58 +0300
-
1e094eeea0
Allow wider expressions for when self is not taken as borrow
lsp
sofia
2025-07-29 23:55:31 +0300
-
3adb745576
Fix struct recursion testing
sofia
2025-07-29 23:38:26 +0300
-
8f7b785664
Fix two small bugs, add new example to test
sofia
2025-07-29 23:16:56 +0300
-
c7aacfe756
Refactor code a little bit
sofia
2025-07-29 21:56:50 +0300
-
b71c253942
Add types to hovers in LSP, fix around and add metas
sofia
2025-07-29 21:39:14 +0300
-
7d3aaa143a
Start adding type-information to tooltips
sofia
2025-07-29 20:44:15 +0300
-
6619f1f0a9
Add simple error diagnostic from parser
sofia
2025-07-29 19:53:12 +0300
-
bc59b6f575
Start adding LSP implementation
sofia
2025-07-29 17:48:45 +0300
-
c262418f88
Add comments and whitespace to lexer
sofia
2025-07-29 16:41:07 +0300
-
2dd3a5904b
Add whitespace to lexer
sofia
2025-07-29 16:37:58 +0300
-
ff1da716e9
Update README.md
sofia
2025-07-29 16:08:54 +0300
-
7c6d634287
Update README.md
sofia
2025-07-29 16:04:26 +0300
-
b0442e5685
Add documentation for include_bytes!
sofia
2025-07-29 16:02:54 +0300
-
2303bf757a
Rename macro to include_bytes!()
macros
sofia
2025-07-29 15:57:26 +0300
-
7234cad5f0
Allow &[ty; _] to be cast into *ty
sofia
2025-07-29 15:56:06 +0300
-
baa068a371
Load file contents relative to module path instead of PWD
sofia
2025-07-29 15:44:14 +0300
-
8b1d1084a6
Improve formatting for globals
sofia
2025-07-29 15:25:14 +0300
-
f5f55079a9
Make global identifier for macro-generated globals better
sofia
2025-07-29 15:19:14 +0300
-
baa7bafafc
Add length-intrinsic
sofia
2025-07-29 01:15:09 +0300
-
f700c577f1
Add reading file to buffer macro, only works for one global per file
sofia
2025-07-29 00:50:07 +0300
-
ebe7fc8d75
Add GetGlobal "instruction"
sofia
2025-07-29 00:29:04 +0300
-
140d963d9b
Read file contents to binary within macro
sofia
2025-07-29 00:18:50 +0300
-
480ba5155a
Initialize global arrays in macros
sofia
2025-07-29 00:07:40 +0300
-
2207c3df83
Add initial support for array globals
sofia
2025-07-29 00:06:47 +0300
-
735c3231b1
Make macros generate globals
sofia
2025-07-28 23:49:22 +0300
-
50a875ad21
Add compilation of global values
sofia
2025-07-28 23:32:47 +0300
-
30257e1a2b
Add global api support for llvm-lib
sofia
2025-07-28 23:20:13 +0300
-
a7ac974f46
Change macro pass workflow a little bit
sofia
2025-07-28 22:57:06 +0300
-
3d8f4bbd24
Implement macro-pass
sofia
2025-07-28 22:37:24 +0300
-
33ed1fd813
Add macro call convention
sofia
2025-07-28 22:18:30 +0300
-
67a5fcd002
Basically revert everything, create macro-pass
sofia
2025-07-28 22:11:46 +0300
-
80bdf4eba8
Merge branch 'main' into macros
sofia
2025-07-28 22:03:06 +0300
-
-
bd8994bb37
Fix linking associated functions, fix other examples
sofia
2025-07-28 22:02:49 +0300
-
2e153922f1
Start adding macros
sofia
2025-07-28 21:54:51 +0300
-
-
ea6458dddc
Update documentation
sofia
2025-07-28 21:24:53 +0300
-
014ba2f638
Update documentation
sofia
2025-07-28 21:23:51 +0300
-
89850d7b4f
Change intrinsic alloca to malloc and actually use libc malloc
sofia
2025-07-28 21:22:15 +0300
-
13be3e9c02
Namespace all functions, except those that are explicitly extern
sofia
2025-07-28 21:13:53 +0300
-
5026013df3
Add intrinsic malloc, use that in alloca
sofia
2025-07-28 20:45:49 +0300
-
beaba4e7de
Mangle function names, except for user defined externs
sofia
2025-07-28 20:25:36 +0300
-
e14efa2ea7
Update allocator to remove dynamic allocations from lists/structs
sofia
2025-07-28 19:52:49 +0300
-
ccee457cf4
Update documentation
sofia
2025-07-28 19:27:21 +0300
-
3f81104c99
Add part of Ray Tracing in One Weekend as an example
Jens Pitkanen
2025-07-28 18:41:14 +0300
-
b643c13582
Use metadata instead of names for allocator identification
sofia
2025-07-28 19:22:03 +0300
-
e412a2e1d7
Fix allocator
sofia
2025-07-28 19:04:37 +0300
-
1b1a5934f5
Implement lexical scopes
sofia
2025-07-28 18:40:42 +0300
-
726251e39c
Fix warnings, cleanup
lexical-scopes
sofia
2025-07-28 18:22:51 +0300
-
61d3ea61ee
Fix debug info
sofia
2025-07-28 18:20:00 +0300
-
d0e1082029
Refactor scopes a little bit
sofia
2025-07-28 18:05:19 +0300
-
60860498df
Possibly fix binop type inference infinite recursion
sofia
2025-07-28 17:31:18 +0300
-
7ca8949e8c
Start adding lexical scopes
sofia
2025-07-28 16:11:20 +0300
-
a60d35c0b0
Update readme, bump version number
1.0.0-beta.2
sofia
2025-07-28 14:31:58 +0300
-
bb7347c97b
Possibly fix binop type inferrence
sofia
2025-07-28 14:30:57 +0300
-
a680064b0f
Improve binary operation inference, still not great
sofia
2025-07-28 14:22:27 +0300
-
469ce3ce77
Improve type inferrence for binops
sofia
2025-07-28 13:02:02 +0300
-
2709eb8749
Compile bitwise operations as well
sofia
2025-07-28 12:21:00 +0300
-
97948d8c38
Help typechecker a little bit
sofia
2025-07-28 12:18:42 +0300
-
a4e18af983
Add intrinsic bit-operators
sofia
2025-07-28 12:16:14 +0300
-
d06eff9347
Add rest of the bitwise operations to library
sofia
2025-07-28 12:10:01 +0300
-
49084ea0af
Add AST -> MIR for bitwise-operations and or
sofia
2025-07-28 11:59:20 +0300
-
516833d26f
Add parsing for bitwise or/and, xor and bitshifts
sofia
2025-07-28 11:53:50 +0300
-
63c54ae4da
Update gitignore
sofia
2025-07-28 02:06:20 +0300
-
3d38b7db8d
Delete foo.reid
sofia
2025-07-28 02:06:12 +0300
-
1c7a600b96
Fix pass for inner expressions
sofia
2025-07-28 02:02:30 +0300
-
8e71c6a47d
Fix nullptr type
sofia
2025-07-28 01:46:17 +0300
-
9c2f47534a
Update how line number is shown in errors
sofia
2025-07-28 01:43:30 +0300
-
c9909dc651
Update intrinsics documentation
sofia
2025-07-28 01:37:54 +0300
-
cea756b2ad
Fix derefs with casts
sofia
2025-07-28 01:36:35 +0300
-
57b5a5cce4
Increment versions
sofia
2025-07-28 01:13:30 +0300
-
2a6aceb052
Apply same self-thing to all dot-syntaxes, actually
sofia
2025-07-28 01:10:27 +0300
-
4844cebd56
Update documentation and readme
1.0.0-beta.1
sofia
2025-07-28 01:06:38 +0300
-
195d3d3af8
Update book to add new example
sofia
2025-07-28 01:01:02 +0300
-
00c91fff60
Update standard library documentation
sofia
2025-07-28 00:52:02 +0300
-
8838223a7d
Add free to String, update hello_world_harder
sofia
2025-07-28 00:44:52 +0300
-
1f56fa5dc3
Fix using self within self
sofia
2025-07-28 00:41:35 +0300
-
dc360ef196
Implement importing of associated functions with types
sofia
2025-07-27 23:28:24 +0300
-
5104555890
Fix type updating for associated function calls
sofia
2025-07-27 23:12:40 +0300
-
9d5a20e76a
Allow pub-keyword for impl-block
sofia
2025-07-27 22:55:34 +0300
-
a6a903a45d
Allow borrows in associated function &self
sofia
2025-07-27 22:45:34 +0300
-
676554b6a0
Improve deref parsing
sofia
2025-07-27 22:24:38 +0300
-
cc367a38e7
Allow mutable borrows to coerce into immutable
sofia
2025-07-27 21:41:34 +0300
-
1c83ca44ab
Add dot syntax for associated functions
sofia
2025-07-27 21:29:39 +0300
-
7e3a13cf55
Add syntax about associated functions in the documentation
sofia
2025-07-27 20:55:53 +0300
-
7b27f30b9e
Implement builtin associated alloca and nullptr
sofia
2025-07-27 20:46:17 +0300
-
acc2964305
Update readme
sofia
2025-07-27 20:06:11 +0300
-
f3471473a2
Test associated functions, cleanup codegen a bit
sofia
2025-07-27 20:04:54 +0300
-
537167fe4f
Add intrinsic associated functions
sofia
2025-07-27 19:55:28 +0300
-
0613fc5c53
Allow associated functions to take self as owned
sofia
2025-07-27 18:41:51 +0300
-
7c6f1a7f9b
Make assoc function example more extreme
sofia
2025-07-27 18:37:10 +0300
-
4f57ed399f
Add formatting, fix typechecking for associated functions
sofia
2025-07-27 18:35:02 +0300
-
24f11a77d2
Add codegen for assoc functions
sofia
2025-07-27 18:32:17 +0300
-
4d7c17a854
Add typeinference and typechecking for Associated Functions
sofia
2025-07-27 18:24:49 +0300
-
46668b7099
Fix a bunch of warnings
sofia
2025-07-27 18:11:18 +0300
-
ab94bd7df0
Add AST -> MIR processing for associated functions
sofia
2025-07-27 03:08:34 +0300
-
09f1784810
Update AssociatedFunctionBlock parsing
sofia
2025-07-27 02:56:47 +0300
-
5eef265652
Add parsing for associated function calls
sofia
2025-07-27 02:54:01 +0300
-
a253c032d8
Add parsing for &self and &mut self
sofia
2025-07-27 02:49:08 +0300