Commit Graph
65 Commits
Author SHA1 Message Date
mcDandy 525e1643a1 I thought I reverted the deleted functions... + AI RGB2HSV func more usefull 2026-02-26 13:39:41 +01:00
mcDandy ddc4bfd460 I forgot to save fix after AI + AI - new functions 2026-02-26 13:03:11 +01:00
mcDandy e9b9486bf1 Update MathExpr.g4 2026-02-26 12:46:32 +01:00
mcDandy dc67e74789 String as a type 2026-02-22 11:59:50 +01:00
mcDandy 62475fdd65 actually regenerate parser 2026-02-20 18:04:18 +01:00
mcDandy 79c403bd15 add missing to readme 2026-02-19 23:59:39 +01:00
mcDandy fa018e6e4f fuíxed list OP tensor when first dim of tensor is the same size as list lenght 2026-02-19 22:33:46 +01:00
mcDandy 891634a912 AI: add plasma, voronoi and perlin noise 2026-02-18 00:49:25 +01:00
mcDandy e3676d681f add type optional to tensor 2026-02-15 16:27:08 +01:00
mcDandy e1f37d25e3 add shape function 2026-02-15 15:47:52 +01:00
mcDandy 0604551199 fix what AI messed up. 2026-02-15 12:20:04 +01:00
mcDandy 9b6c10b664 AI: fix some tests 2026-02-15 11:47:32 +01:00
mcDandy f57f224fd6 AI: add noise 2026-02-14 22:38:28 +01:00
mcDandy 4a265c4768 grammer got reverted 2026-02-13 23:45:14 +01:00
mcDandy 588a74cfeb add bit count, bit shifts + tests + restore what AI deleted 2026-02-13 23:15:50 +01:00
mcDandy 9a9274f443 fix grammer 2026-02-13 14:06:42 +01:00
mcDandy 8c2eab8626 AI: bitwise - check later manually 2026-02-13 14:02:50 +01:00
mcDandy 3d9e37b602 motion functions and permute fix 2026-02-12 08:51:20 +01:00
mcDandy 5072b191b7 Add tensor ops and parser support
Expose new tensor operations (softmax, softmin, argmin, argmax, unique, flatten, matmul, cross, and related tensor helpers) in the README and add corresponding grammar rules/tokens. Updated MathExpr.g4 to include new func productions and token definitions, and regenerated parser artifacts (MathExprLexer/Parser/Listener/Visitor/UnifiedMathVisitor and .interp/.tokens files). Also includes minor README formatting/typo fixes.
2026-02-10 15:38:47 +01:00
mcDandy b8b98cb758 add optional shape argument 2026-02-07 16:37:39 +01:00
mcDandy 0c1d3f52d6 argsort + add do nothing option on tensor size mismatch 2026-02-04 19:09:56 +01:00
mcDandy 38e795eb35 Better errors + batch shuffle (subject to rename) 2026-02-03 13:59:19 +01:00
mcDandy e01a74d6ad add tensor creation and fix ruff 2026-02-03 10:17:43 +01:00
mcDandy d53d725fcc AI fix stack and large refactor + add count 2026-02-02 20:16:22 +01:00
mcDandy 881a18d392 added stack prefix to stack operations 2026-02-02 15:17:59 +01:00
mcDandy ac0c2f43d3 Add None. It is sometimes usefull to create empty variable 2026-02-01 17:26:53 +01:00
mcDandy 93c4559bfd add optional semicolon 2026-02-01 16:45:32 +01:00
mcDandy 3467cf0663 (AI) set value based on position 2026-02-01 15:21:32 +01:00
mcDandy 2ee4dfd507 crop, get_value + formating 2026-02-01 15:19:24 +01:00
mcDandy 270a539d91 Addid scientific notation. I forgot to commit. 2026-02-01 15:18:19 +01:00
mcDandy ce0c620a36 did I not puth it? 2026-02-01 15:17:23 +01:00
mcDandy a84a3b16e0 add support for scientific notation 2026-01-30 23:27:20 +01:00
mcDandy e13e3ac013 fixed an issue when (probably) multiplying list and tensor 2026-01-30 21:22:58 +01:00
mcDandy db8000d51e add device info to visitor and fixed forgotten ' 2026-01-30 14:22:13 +01:00
mcDandy 03dcb7c424 aded break and continue 2026-01-30 11:35:20 +01:00
mcDandy e7d913ccd0 add time measurement and updated readme 2026-01-29 12:54:53 +01:00
mcDandy 13e5b4e800 Add comments 2026-01-29 11:19:02 +01:00
mcDandy 380021fdf1 Add stack 2026-01-27 19:35:23 +01:00
mcDandy c3b7822ad2 (AI) merge some features from Computer architecture class project 2026-01-27 13:41:15 +01:00
mcDandy 1a80777aac optional auto-permute for gausian and edge 2026-01-25 22:06:54 +01:00
mcDandy 9e3e21da4c any, all, easings, cumulative sum and product 2026-01-25 11:42:09 +01:00
mcDandy 5d634ecaf4 Added ternary expression
Little higher then in other languages (tired of needing to bracket when the compExpr is more then variable)

Also IT SHOULD BE TURING COMPLETE NOW
2026-01-25 00:03:56 +01:00
mcDandy c61aec2faf add function which replaces NaN, inf and -inf 2026-01-24 14:46:50 +01:00
mcDandy a870ca0689 add ability to declare custom variables 2026-01-24 11:46:57 +01:00
mcDandy 01c9a9a3c2 fix typo 2026-01-20 15:33:18 +01:00
mcDandy 27079a0394 ai found some typos when writing tests for me 2026-01-20 13:20:40 +01:00
mcDandy b83e06e83f add random generators 2026-01-20 13:08:14 +01:00
mcDandy b59937d351 add append function 2026-01-19 20:43:19 +01:00
mcDandy 8e0b1c65f5 (ai) add custom functions 2026-01-19 17:22:23 +01:00
mcDandy 8d5709ba6f added cosine similarity, flip, covariance and sorting 2026-01-17 14:04:27 +01:00