54 Commits

Author SHA1 Message Date
sam
ebc3954265 Almost done making linux version, window is showing but there is still an error 2022-01-16 15:06:49 -05:00
sam
fa870f46d5 Porting code to linux 2022-01-16 14:07:27 -05:00
sam-astro
c5c2230736 remove system("pause") 2022-01-15 23:05:59 -05:00
sam-astro
6018e9f4f0 Devmode and things to get linux version working 2022-01-15 23:01:54 -05:00
sam-astro
f52a2a194d Fixed issue where I only change a single instance lol 2022-01-15 22:36:31 -05:00
sam-astro
00bd652695 Update Main.cpp 2022-01-15 22:30:02 -05:00
sam-astro
c7a6e17d6c Fix invalid conversion from std::string to const char * 2022-01-15 22:27:40 -05:00
sam-astro
ebeaf65513 Revert "Included boost libraries"
This reverts commit 79994b09112c8ad598611045f72ad029531cf6e7.
2022-01-15 20:34:33 -05:00
sam-astro
79994b0911 Included boost libraries 2022-01-15 20:22:33 -05:00
sam-astro
cba3d1b798 Made work with CMake 2022-01-15 18:59:01 -05:00
sam-astro
fb19f8e397 remove pong from interpreter source, add CMakeLists.txt 2022-01-15 16:15:18 -05:00
sam-astro
4f960ce685 Revert "Rename to StuLang"
This reverts commit c11f089178b58189558dad072df29a8fd3beac13.
2022-01-15 15:53:55 -05:00
sam-astro
c11f089178 Rename to StuLang 2022-01-15 15:45:33 -05:00
sam-astro
687b9c6972 Fixed bug with Sprites, Created installer
Sprites would not center at initialization, instead only after changing a second time

Installer for adding Slang interpreter to 'Program Files' directory in Windows
2022-01-15 14:07:16 -05:00
sam-astro
3f6e04b751 Finished pong clone, added full text functionality, added icon, and completed v1.0.0 of Slang 2022-01-15 12:56:44 -05:00
sam-astro
c1dda8efd8 Updated graphics, got pong physics working 2022-01-14 23:21:44 -05:00
sam-astro
71ba1d608e Optimization, graphics and builtin updates, and continued working on pong game in Slang 2022-01-13 19:45:03 -05:00
sam-astro
3e6c84add6 Graphics working, and started pong game 2022-01-12 22:18:40 -05:00
sam-astro
b3ac3ce18f Spippity boppity, my code is now the trashcans property 2022-01-12 19:21:11 -05:00
sam-astro
79ec9f6cd7 Graphics and drawing now work, but there is a HUGE memory leak, probably from creating a new object every frame or something 2022-01-12 17:02:56 -05:00
sam-astro
ab015b0cef aaaaaaaaaaaaaAAAAAAAAAAAAAAAAAAAAAGHGHGHGGHGHHGHGHGGHGHGHGHGHGHGHGHGHHG 2022-01-11 21:53:47 -05:00
sam-astro
59d0bd5c56 Almost done implementing simple graphics!! (hopefully) 2022-01-11 19:51:09 -05:00
sam-astro
036470a14e Started working on rendering 2022-01-10 20:37:16 -05:00
sam-astro
42bf1cccce FINALLLY!!!!!!!!! Working version !! 2022-01-10 16:22:55 -05:00
sam-astro
bde9ed7222 xdfg 2022-01-10 14:58:31 -05:00
sam-astro
7b737d7799 hgf 2022-01-06 18:41:41 -05:00
sam-astro
41b90c3b4b (slightly) working version. Includes to other files needs fixing, then it should work 2022-01-06 16:51:04 -05:00
sam-astro
79b1b7102d Fixed most errors, moved things around 2022-01-05 15:51:44 -05:00
sam-astro
b1a1133d85 Revert "Changed to switch case for Equ and BooleanLogic and added warnings"
This reverts commit d761591b14ee3cee5a24199765325d72002fd57e.
2022-01-05 15:10:55 -05:00
sam-astro
4d820e24aa
Changed name of evalEqu to varOperation 2022-01-05 10:41:39 -05:00
sam-astro
d761591b14
Changed to switch case for Equ and BooleanLogic and added warnings 2022-01-05 10:20:26 -05:00
sam-astro
5df1c50c16
Added warnings and errors and created functions for cleaner code 2022-01-05 09:54:02 -05:00
sam-astro
c705771eaa
ProcessLine if else, inline exist checks
ProcessLine now does checks with if else statements, which should hopefully improve performance, and exist checks are inline if statements, so a new variable doesn't need to be initialized for a single use.
2022-01-05 09:17:03 -05:00
sam-astro
4fb5500cc3
Actually, these are the new function changes 2022-01-05 08:50:33 -05:00
sam-astro
83404f266f
Changed many function inputs to const
Removed unnecessary loops in ExecuteFunction which used a lot of time. Function arguments also now no longer require a type, just a name. Also, functions don't need a pre-defined return value (ex. void or int), and just have a functions declarer 'func' before the name.
2022-01-05 08:37:28 -05:00
sam-astro
c360238d78 Continued conversion into 'any' variable and function storage 2022-01-03 18:33:07 -05:00
sam-astro
93eff0b337
Updated functions and var gathering 2022-01-03 13:52:54 -05:00
sam-astro
f4a5f3d0e2
Continue converting to "any" type 2022-01-03 13:19:35 -05:00
sam-astro
f796358af6
Removed for loops in place of .substr() 2022-01-03 12:05:54 -05:00
sam-astro
392879fbad
Started optimization with unordered_map hash table 2022-01-03 11:51:49 -05:00
sam-astro
2880d7e007 Performance fix 2022-01-02 15:59:30 -05:00
sam-astro
9874d03b3f Added many built-in functions and variables, also allowed for displaying graphics.
Graphics are currently *very* slow, and that is due to my underlying code. I will need to spend the next week or so just optimizing.
2022-01-02 15:33:17 -05:00
sam-astro
435d2a2270 Added strig differentiation, and am making cross-referencable functions that can be made in c++. Also made a "builtin.slg" file to load built-in functions and variables written in slang 2022-01-02 11:41:53 -05:00
sam-astro
29f4ad704f
Update Main.cpp 2022-01-01 23:46:31 -05:00
sam-astro
49c26219fc Worked on evaluator and concatenating strings
Next I need to better differentiate raw and quoted strings because the system converts at the wrong time and never converts back
2022-01-01 22:53:35 -05:00
sam-astro
ee8197a921 Created expression evaluator, and allow for comments and commenting out code 2022-01-01 17:02:48 -05:00
sam-astro
0a7a8fb709 Changed the ending once again 2022-01-01 14:09:54 -05:00
sam-astro
58db74ee73 changed file ending for script to a less used one 2021-12-30 21:26:42 -05:00
sam-astro
d11b8a0c56 Checks for re-intitialization 2021-12-29 17:38:00 -05:00
sam-astro
e7d8f31851 added better functions and stuf 2021-12-29 17:13:04 -05:00