Stone_Red
819ed12495
Refactor argument handling in ExecuteProgramWithArgs for clarity
2026-03-05 00:47:24 +01:00
Stone_Red
a35762545e
Rename files to correct spelling errors in their filenames
2026-03-05 00:38:09 +01:00
Stone_Red
071d9a937e
Switch safe string encoding from ~tilde codes to SOH-delimited codes throughout
2026-03-05 00:24:20 +01:00
Stone_Red
64c61f0f8c
Improve stack trace error handling.
2026-03-04 23:38:01 +01:00
Stone_Red
882c4f3a51
Add proper docs
2026-03-04 23:33:08 +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
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
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
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
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
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
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
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
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
Stone_Red
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
2022-03-31 13:01:31 +02:00
Stone_Red
29bbcebf74
Change code flow and variable statements
...
- Labels (`lbl`) in functions are now local
- Fix code smell problems
2022-03-31 12:56:35 +02:00
Stone_Red
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
2022-03-27 20:25:44 +02:00
Stone_Red
20f7f16dd9
- Add mod (%) and pow (^) operator
...
- Fix task creation bug
2022-03-25 23:49:13 +01:00
Stone_Red
0a4406d21f
New features and bug fixes
...
- Fix import (`imp`) bug-
- Add is in parameter available (`isi`) statement
- Add is out parameter available (`iso`) statement
2022-03-24 21:16:32 +01:00
Stone_Red
83f99d4dd5
Code structure improvements
2022-03-10 12:43:22 +01:00
Stone_Red
0fc0a1fe46
- Add custom exceptions
2022-01-13 15:01:41 +01:00
Stone_Red
4bef308ff2
- Add predefined variables
...
- Add `mod` function
- Improve function calling syntax
2022-01-13 13:39:02 +01:00