Commit Graph

  • b2fdd9c841 Remove Initialize calls and add AddStatement tests Stone_Red 2026-03-04 19:41:14 +01:00
  • 8e0abf155a Make YesNtInterpreter usable as a library and add AddStatement method to be able to define custom statement Stone_Red 2026-03-04 19:40:46 +01:00
  • 9813426f06 Code cleanup Stone_Red 2026-03-04 18:12:08 +01:00
  • 9e9123f58d Swap variable and string regex order and update highlight colors to prevent highlighting glitches Stone_Red 2026-03-04 18:00:08 +01:00
  • f411aa7433 Add string highlighting with DarkYellow and make sure variable coloring gets applied before others Stone_Red 2026-03-04 17:50:58 +01:00
  • e47f614e62 Convert import statement path from safe string before combining paths Stone_Red 2026-03-04 17:40:14 +01:00
  • 86819900a0 Add string literal parsing with escapes and related tests Stone_Red 2026-03-04 16:21:49 +01:00
  • 7f58fb4aaf Add step debug mode and refactor command handling for run/debug Stone_Red 2026-03-04 16:01:23 +01:00
  • e99df1e3f2 Add list statement support with tests for creation, access, and errors Stone_Red 2026-03-04 15:47:54 +01:00
  • 344e9e644e Use source generator instead of reflection Stone_Red 2026-03-04 15:06:43 +01:00
  • d4cc1d1c28 Use var instead of let for variables Stone_Red 2026-03-04 14:55:09 +01:00
  • a5f521912e Add new tests for console, function, system, variable, and code flow statements Stone_Red 2026-03-04 14:49:54 +01:00
  • 36d8735fbb Remove manual variable declaration highlighting from SyntaxHighlighter and add color to VariableStatements Stone_Red 2026-03-04 14:48:04 +01:00
  • 317bca84d3 Enforce label and function statements to end with ':' and update syntax checks Stone_Red 2026-03-04 14:33:47 +01:00
  • 299558df70 Add support for block-style if/else and while loop statements with tests Stone_Red 2026-03-04 14:28:04 +01:00
  • 9d43f1373f Make syntax more readable Stone_Red 2026-03-04 14:04:00 +01:00
  • 11200cbff8 Don't throw exception when line that contains > contains no variable found Stone_Red 2025-03-04 15:14:01 +01:00
  • 1df0d34841 Add more unit test Stone_Red 2024-08-08 23:57:55 +02:00
  • 9a6f1d7806 Escape invisible character is debug mode Stone_Red 2024-08-08 23:57:40 +02:00
  • ec2f294796 Fix exec statement and syntax highlighter Stone_Red 2024-08-07 23:31:53 +02:00
  • cf274e1db9 Add more escape codes Stone_Red 2024-08-07 23:31:19 +02:00
  • 7e357884f5 get and out statements can now be placed anywhere and function arguments are now always in correct order Stone_Red 2024-08-07 21:19:45 +02:00
  • c3bc324519 Reset function in and out parameters stack Stone_Red 2024-08-07 20:17:59 +02:00
  • 7078ed5637 Upgrade to .NET 8 and code cleanup Stone_Red 2024-08-07 19:44:49 +02:00
  • 84afe70c96 Fix crash when resizing and cursor is off screen Stone_Red 2023-09-28 16:27:36 +02:00
  • 1ac6d7790b Automatically redraw console window when size chnages Stone_Red 2023-09-28 14:43:53 +02:00
  • ce3715c1b5 Reformatting and reimperilment escape codes Stone_Red 2023-09-27 17:17:28 +02:00
  • 79df5c9b97 Many improvements and bug fixes Stone_Red 2023-09-27 12:15:38 +02:00
  • 03eb5cf61f Update README.md Stone_Red 2023-01-17 10:27:34 +01:00
  • ea0c532f78 Update README.md Stone_Red 2023-01-17 10:27:05 +01:00
  • 2e023f1a4e Add empty cwl command Stone_Red 2022-11-17 14:07:29 +01:00
  • ef1f731adc Fix exc command Stone_Red 2022-11-17 14:07:11 +01:00
  • 9d22381085 Rename SaveString to SafeString Stone_Red 2022-11-17 12:58:05 +01:00
  • 0f7f63ae9a Improve Regex performance and change .NET version to .NET 7 Stone_Red 2022-11-17 12:37:32 +01:00
  • e539813314 Use correct directory when importing other file Stone_Red 2022-11-17 11:54:01 +01:00
  • 1ced6f393c Improve code formatting Stone_Red 2022-11-17 11:40:51 +01:00
  • 533ad23c4d Fix error when loading empty file Stone_Red 2022-11-17 09:29:29 +01:00
  • dd6fbf3be7 Add system statements ('exc') Stone_Red 2022-05-24 19:49:25 +02:00
  • 3c98c2b26f Code structure and speed imporvments Stone_Red 2022-04-28 19:58:30 +02:00
  • 3c78755858 Add basic tests Stone_Red 2022-04-21 14:27:39 +02:00
  • c1b581e2db Fix bugs and add new statement - Add clear call stack (ccs) statement - Use \v instead of \r to support escape sequences in the future Stone_Red 2022-03-31 21:51:31 +02:00
  • 1dfa39492f Change namespace of some files Stone_Red 2022-03-31 13:23:19 +02:00
  • 10017cf01d Merge remote-tracking branch 'origin/main' Stone_Red 2022-03-31 13:01:58 +02:00
  • 510d2d910c Add more statements and bug fixes - Add Execute(List<string>... method to interpreter - Add escape sequence (!!) - Fix Evaluator.Calulate method not correctly handling - and + prefixes Stone_Red 2022-03-31 12:57:29 +02:00
  • 3333641541 Add more statements and bug fixes Add Execute(List<string>... method to interpreter Add escape sequence (!!) Fix Evaluator.Calulate method not correctly handling - and + prefixes Stone_Red 2022-03-31 12:57:29 +02:00
  • 29bbcebf74 Change code flow and variable statements - Labels (lbl) in functions are now local - Fix code smell problems Stone_Red 2022-03-31 12:56:35 +02:00
  • 6a4fe4f871 Change logic of some changes - %rnd now returns a random integer between 32767 and int.MaxValue - Fix syntax hyglighing problems when using comments - Remove the mod statement Stone_Red 2022-03-27 20:25:44 +02:00
  • 20f7f16dd9 - Add mod (%) and pow (^) operator - Fix task creation bug Stone_Red 2022-03-25 23:49:13 +01:00
  • 0a4406d21f New features and bug fixes - Fix import (imp) bug- - Add is in parameter available (isi) statement - Add is out parameter available (iso) statement Stone_Red 2022-03-24 21:16:32 +01:00
  • 83f99d4dd5 Code structure improvements Stone_Red 2022-03-10 12:43:22 +01:00
  • c02104db5a Update README.md Stone_Red 2022-01-15 00:10:00 +01:00
  • 0fc0a1fe46 - Add custom exceptions Stone_Red 2022-01-13 15:01:41 +01:00
  • 4bef308ff2 - Add predefined variables - Add mod function - Improve function calling syntax Stone_Red 2022-01-13 13:39:02 +01:00
  • ea5bbda2c7 - Fix code editor resize problems - Fix crash when using get our out multiple times with the same variable name - Show the name of the file in which the error occured Stone_Red 2022-01-13 07:30:37 +01:00
  • 719db0f74b - Fix another calculation bug Stone_Red 2022-01-11 22:50:45 +01:00
  • 2522868379 - Change parameter keywords color - Fix calculation bug Stone_Red 2022-01-11 22:03:08 +01:00
  • 895eb51c8d - Add function in and out parameters Stone_Red 2022-01-11 19:08:15 +01:00
  • 2a7e8074ba - Add functions - Code improvements Stone-Red-Code 2021-11-19 20:49:55 +01:00
  • 812b780942 - Better Syntax coloring Stone-Red-Code 2021-10-17 00:09:17 +02:00
  • e6d31c8277 - Improve debug output Stone-Red-Code 2021-10-14 15:03:44 +02:00
  • 80fda48944 - Add global variables - Add task id's - Fixed editor bugs - Fix input handler bugs Stone-Red-Code 2021-10-13 22:16:57 +02:00
  • ae27262a51 - Add some editor key combinations - Improve saving performance Stone-Red-Code 2021-10-11 20:00:13 +02:00
  • 8b21c99f54 - Add cls statement (clear screen) - Improved code structure of the editor - Some bug fixes Stone-Red-Code 2021-10-10 21:20:51 +02:00
  • 68a9bde5d9 - Add tasks - Add check if file exist - Improved code structure Stone-Red-Code 2021-10-09 20:23:28 +02:00
  • c40d1f45e0 Initial commit Stone-Red-Code 2021-10-08 12:48:48 +02:00