a049796b81
add failing test
2025-10-10 22:54:10 +05:30
5f2df57e64
update globals test and todos.
2025-10-10 22:54:09 +05:30
130d8a9edc
format chore
2025-10-10 22:54:08 +05:30
40ae3d825a
fix broken IR generation logic for globals
2025-10-10 22:54:08 +05:30
484624104e
fix broken IR generation logic for globals
2025-10-10 22:54:07 +05:30
e7c4bdb150
add global support with broken generation function
2025-10-10 22:54:07 +05:30
7210366e7d
add global failing test
...
Signed-off-by: varun-r-mallya <varunrmallya@gmail.com >
2025-10-10 22:54:06 +05:30
435bf27176
Add compile to tests/failing_tests/conditionals/helper_cond.py
2025-10-10 22:54:06 +05:30
cfc246c80d
Add explanation notes to failing conditionals tests
2025-10-10 22:53:58 +05:30
f3c80f9e5f
Add helper_cond failing test for conditionals
2025-10-10 22:53:58 +05:30
0d3a5748dd
Move map_comp test to passing
2025-10-10 22:53:57 +05:30
e180a89644
Add _normalize_types to handle mismatched ints, move type_mismatch test to passing
2025-10-10 22:53:55 +05:30
34a267e982
Add type_mismatch failing test for conditionals
2025-10-10 22:53:55 +05:30
c81aad7c67
Add failing struct_ptr test for conditionals
2025-10-10 22:53:54 +05:30
2e677c2c7b
Fix struct_access in eval_expr, move struct_access conditional test to passing
2025-10-10 22:53:54 +05:30
b8b937bfca
Add failing test map_comp for conditionals
2025-10-10 22:53:53 +05:30
5451ba646d
Add support for unary op 'not' in eval_expr, move not test to passing
2025-10-10 22:53:52 +05:30
7720437ca5
Add failing tests struct and not for conditionals
2025-10-10 22:53:52 +05:30
054a834464
Add failing assign test retype.py, with explanation
2025-10-09 03:28:07 +05:30
e66ae7cc89
Add failing oneline IfExpr conditional test
2025-10-08 21:36:08 +05:30
b95fbd0ed0
rollback example
2025-10-08 14:53:51 +05:30
32dc8e6636
Merge pull request #21 from pythonbpf/globals
...
Adds support for globals
SO......
*I'm not merging this because it's complete, but because I don't want it to diverge from master too much.
*Stuff I still need to complete:
-> Structs and eval expressions in these globals.
-> handling the global keyword.
-> assigning back to the global and reading from inside a function.
-> Basically, `global` keyword in Python is used to write only and reading can be done directly without declaring as global as a direct assign without global declaration is going to diverge from Python.
-> The above logic is going to be supported by `global_sym_tab` generated using the new order of passes that we are doing.
-> This needs to be fixed and done ASAP to avoid conflicts. so yes, im gonna do it soon.
2025-10-08 14:48:37 +05:30
8e3942d38c
format chore
2025-10-08 14:31:37 +05:30
d84ce0c6fa
update helpers and change examples.
2025-10-08 13:57:09 +05:30
9fdc6fa3ed
Add compile to tests/failing_tests/conditionals/helper_cond.py
2025-10-08 07:26:41 +05:30
ecac24c1d2
Add explanation notes to failing conditionals tests
2025-10-08 05:57:17 +05:30
a764b095f8
Add helper_cond failing test for conditionals
2025-10-08 05:54:49 +05:30
95a196a91f
Move map_comp test to passing
2025-10-08 05:53:52 +05:30
2d850f457f
Add _normalize_types to handle mismatched ints, move type_mismatch test to passing
2025-10-08 02:22:41 +05:30
9e1142bf05
Add type_mismatch failing test for conditionals
2025-10-07 14:02:09 +05:30
1843ca6c53
Add failing struct_ptr test for conditionals
2025-10-07 13:42:58 +05:30
caa5d92c32
Fix struct_access in eval_expr, move struct_access conditional test to passing
2025-10-07 13:35:31 +05:30
b7092fa362
Add failing test map_comp for conditionals
2025-10-07 05:20:43 +05:30
a574527891
Add support for unary op 'not' in eval_expr, move not test to passing
2025-10-07 04:49:45 +05:30
176673017c
Add failing tests struct and not for conditionals
2025-10-07 04:17:26 +05:30
3abe07c5b2
add global symbol table populate function
2025-10-05 14:05:10 +05:30
01bd7604ed
add global symbol table populate function
2025-10-05 14:04:25 +05:30
d341cb24c0
Update explanation for named_arg
2025-10-05 04:27:37 +05:30
2fabb67942
Add note for faling test named_arg
2025-10-05 03:15:17 +05:30
7ae84a0d5a
add failing test
2025-10-05 00:55:38 +05:30
283b947fc5
Add named_arg failing test
2025-10-04 19:50:33 +05:30
ab610147a5
update globals test and todos.
2025-10-04 06:36:51 +05:30
7720fe9f9f
format chore
2025-10-04 06:33:09 +05:30
7aeac86bd3
fix broken IR generation logic for globals
2025-10-04 06:32:25 +05:30
ac49cd8b1c
Fix hashmap access in direct_assign.py
2025-10-04 02:14:33 +05:30
af44bd063c
Add explanation for direct_assign.py failing test
2025-10-04 02:13:46 +05:30
ab1c4223d5
fix broken IR generation logic for globals
2025-10-03 22:55:40 +05:30
c3a512d5cf
add global support with broken generation function
2025-10-03 22:20:04 +05:30
4a60c42cd0
add global failing test
...
Signed-off-by: varun-r-mallya <varunrmallya@gmail.com >
2025-10-03 21:25:58 +05:30
3f061750cf
fix return value error
2025-10-03 19:11:11 +05:30