Commit Graph
123 Commits
Author SHA1 Message Date
Stone_Red 882c4f3a51 Add proper docs 2026-03-04 23:33:08 +01:00
Stone_Red 163bf677ae Add line formatting with auto indentation and fix syntax highlighting in editor 2026-03-04 23:02:40 +01:00
Stone_Red a2f621d3f4 Add XML docs 2026-03-04 20:44:06 +01:00
Stone_Red ac78afc12f Fix warnings 2026-03-04 20:34:45 +01:00
Stone_Red 10d5766873 Centralize exit messages in ExitMessages class 2026-03-04 20:32:25 +01:00
Stone_Red 3411bb88de Refactor list statement methods to use empty array checks over null checks 2026-03-04 20:24:18 +01:00
Stone_Red d00295516c Merge setup parameter into ExecuteAndCapture method with default value 2026-03-04 19:59:01 +01:00
Stone_Red 27f72f1413 Remove Program.cs and its main entry point from interpreter project 2026-03-04 19:56:08 +01:00
Stone_Red b2fdd9c841 Remove Initialize calls and add AddStatement tests 2026-03-04 19:41:19 +01:00
Stone_Red 8e0abf155a Make YesNtInterpreter usable as a library and add AddStatement method to be able to define custom statement 2026-03-04 19:40:46 +01:00
Stone_Red 9813426f06 Code cleanup 2026-03-04 18:12:08 +01:00
Stone_Red 9e9123f58d Swap variable and string regex order and update highlight colors to prevent highlighting glitches 2026-03-04 18:00:08 +01:00
Stone_Red f411aa7433 Add string highlighting with DarkYellow and make sure variable coloring gets applied before others 2026-03-04 17:50:58 +01:00
Stone_Red e47f614e62 Convert import statement path from safe string before combining paths 2026-03-04 17:40:14 +01:00
Stone_Red 86819900a0 Add string literal parsing with escapes and related tests 2026-03-04 16:21:49 +01:00
Stone_Red 7f58fb4aaf Add step debug mode and refactor command handling for run/debug 2026-03-04 16:01:23 +01:00
Stone_Red e99df1e3f2 Add list statement support with tests for creation, access, and errors 2026-03-04 15:47:54 +01:00
Stone_Red 344e9e644e Use source generator instead of reflection 2026-03-04 15:06:43 +01:00
Stone_Red d4cc1d1c28 Use var instead of let for variables 2026-03-04 14:55:09 +01:00
Stone_Red a5f521912e Add new tests for console, function, system, variable, and code flow statements 2026-03-04 14:49:54 +01:00
Stone_Red 36d8735fbb Remove manual variable declaration highlighting from SyntaxHighlighter and add color to VariableStatements 2026-03-04 14:48:15 +01:00
Stone_Red 317bca84d3 Enforce label and function statements to end with ':' and update syntax checks 2026-03-04 14:33:47 +01:00
Stone_Red 299558df70 Add support for block-style if/else and while loop statements with tests 2026-03-04 14:28:04 +01:00
Stone_Red 9d43f1373f Make syntax more readable 2026-03-04 14:04:00 +01:00
Stone_Red 11200cbff8 Don't throw exception when line that contains > contains no variable found 2025-03-04 15:14:01 +01:00
Stone_Red 1df0d34841 Add more unit test 2024-08-08 23:57:55 +02:00
Stone_Red 9a6f1d7806 Escape invisible character is debug mode 2024-08-08 23:57:40 +02:00
Stone_Red ec2f294796 Fix exec statement and syntax highlighter 2024-08-07 23:31:53 +02:00
Stone_Red cf274e1db9 Add more escape codes 2024-08-07 23:31:19 +02:00
Stone_Red 7e357884f5 get and out statements can now be placed anywhere and function arguments are now always in correct order 2024-08-07 21:20:00 +02:00
Stone_Red c3bc324519 Reset function in and out parameters stack 2024-08-07 20:17:59 +02:00
Stone_Red 7078ed5637 Upgrade to .NET 8 and code cleanup 2024-08-07 19:48:03 +02:00
Stone_Red 84afe70c96 Fix crash when resizing and cursor is off screen 2023-09-28 16:27:36 +02:00
Stone_Red 1ac6d7790b Automatically redraw console window when size chnages 2023-09-28 14:43:53 +02:00
Stone_Red ce3715c1b5 Reformatting and reimperilment escape codes 2023-09-27 17:17:28 +02:00
Stone_Red 79df5c9b97 Many improvements and bug fixes 2023-09-27 12:15:38 +02:00
Stone_Red 03eb5cf61f Update README.md 2023-01-17 10:27:34 +01:00
Stone_Red ea0c532f78 Update README.md 2023-01-17 10:27:05 +01:00
Stone_Red 2e023f1a4e Add empty cwl command 2022-11-17 14:07:29 +01:00
Stone_Red ef1f731adc Fix exc command 2022-11-17 14:07:11 +01:00
Stone_Red 9d22381085 Rename SaveString to SafeString 2022-11-17 12:58:05 +01:00
Stone_Red 0f7f63ae9a Improve Regex performance and change .NET version to .NET 7 2022-11-17 12:37:32 +01:00
Stone_Red e539813314 Use correct directory when importing other file 2022-11-17 11:54:01 +01:00
Stone_Red 1ced6f393c Improve code formatting 2022-11-17 11:40:51 +01:00
Stone_Red 533ad23c4d Fix error when loading empty file 2022-11-17 09:29:29 +01:00
Stone_Red dd6fbf3be7 Add system statements ('exc') 2022-05-24 19:49:25 +02:00
Stone_Red 3c98c2b26f Code structure and speed imporvments 2022-04-28 19:58:30 +02:00
Stone_Red 3c78755858 Add basic tests 2022-04-21 14:27:39 +02:00
Stone_Red 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
2022-03-31 21:51:31 +02:00
Stone_Red 1dfa39492f Change namespace of some files 2022-03-31 13:23:19 +02:00