Commit Graph

108 Commits

Author SHA1 Message Date
Ur Mom eccce505e5 -added Type-Cast
-added Reinterpret-Cast
2024-05-12 22:54:58 +02:00
Filleo cd6ebc60ad
Merge pull request #58 from Servostar/39-add-parser-rule-for-functions
added function parser rules
2024-05-08 13:23:58 +02:00
Filleo 0c9c5f37b4
Merge pull request #55 from Servostar/37-add-parser-rule-for-while
added while parser rule
2024-05-08 13:20:16 +02:00
SirTalksalot75 9676319a51
Merge pull request #59 from Servostar/add-parser-rule-for-modules-import
Added module-import parser rules
2024-05-08 13:18:47 +02:00
Felix Müller b8723bf83c removed empty lines 2024-05-08 13:18:34 +02:00
SirTalksalot75 743f8899f4
Merge branch 'parser-devel' into add-parser-rule-for-modules-import 2024-05-08 13:16:10 +02:00
Filleo e65761a64f
Merge branch 'parser-devel' into 39-add-parser-rule-for-functions 2024-05-08 09:32:25 +02:00
Filleo 03010bcf42
Merge branch 'parser-devel' into 37-add-parser-rule-for-while 2024-05-08 09:28:34 +02:00
servostar 95de445406
Merge pull request #53 from Servostar/52-fix-shiftreduce-confilcts
fixed shift reduce conflicts by removing epsilon functions
2024-05-07 13:51:35 +00:00
Ur Mom 198c27f676 changed moduleimport in parser 2024-05-07 10:07:00 +02:00
Felix Müller 08943e3e6e added function parser rules 2024-05-06 22:14:42 +02:00
Sven Vogel 02628a56d6 fixed shift reduce conflicts by removing epsilon functions 2024-05-06 16:41:23 +02:00
Felix Müller 5d155416b4 added while parser rule 2024-05-06 14:13:43 +02:00
Ur Mom 4ee6be3eb8 Changed Key for Function name 2024-05-06 12:09:58 +02:00
Ur Mom 6038241a1b initial commit for adding Module Import 2024-05-06 12:00:03 +02:00
servostar f8c888216a
Merge pull request #46 from Servostar/40-add-parser-rule-for-calling-functions
added parser rule for function calling
2024-05-06 08:52:00 +00:00
servostar 96a50f4289
Merge branch 'parser-devel' into 40-add-parser-rule-for-calling-functions 2024-05-06 08:51:21 +00:00
servostar 07b3198c06
Merge pull request #51 from Servostar/36-add-parser-rule-for-if
36 add parser rule for if
2024-05-06 08:48:39 +00:00
servostar 55caa37ba7
Merge pull request #45 from Servostar/43-add-parser-rule-for-operators
added rules for operators
2024-05-06 08:48:12 +00:00
servostar 4d7dcc4c73
Merge branch 'parser-devel' into 43-add-parser-rule-for-operators 2024-05-06 08:46:07 +00:00
Filleo b58daadfa7
Merge pull request #50 from Servostar/38-add-parser-rule-for-expressions-and-statements
38 add parser rule for expressions and statements
2024-05-06 10:42:01 +02:00
Sven Vogel 98c60aef16 added rule for branches 2024-05-05 21:51:51 +02:00
Sven Vogel bd9d28d069 removed unnecessary file prog.gem 2024-05-05 21:13:38 +02:00
Sven Vogel 6f6b34792f function calls can now have more than 1 parameter list 2024-05-05 21:11:28 +02:00
Felix Müller b8c9bfb4e7 Merge branch '38-add-parser-rule-for-expressions-and-statements' of https://github.com/Servostar/gemstone into 38-add-parser-rule-for-expressions-and-statements 2024-05-05 21:05:59 +02:00
Felix Müller a1c12f03db removed some empty lines 2024-05-05 21:05:37 +02:00
Sven Vogel 970b45ac3c added less and greater operator 2024-04-30 11:51:59 +02:00
Felix Müller 65fe3acdb8 removed empty lines 2024-04-29 17:22:35 +02:00
Sven Vogel 3e6469e239 added parser rule for function calling 2024-04-29 14:12:27 +02:00
Sven Vogel 7547331705 added rules for operators 2024-04-29 12:39:44 +02:00
Felix Müller 6de4196c0a created lexer rule for comments
deleted lexer rule for '#'
added parser rule for statement
sorted parser rules
2024-04-28 23:46:12 +02:00
Sven Vogel 897de1b8e1 fixed spelling mistake 2024-04-26 17:36:20 +02:00
Sven Vogel d718b8f812 reversed change from devkit 2024-04-26 17:35:27 +02:00
Sven Vogel dd867db271 Added identifier lists 2024-04-26 17:30:22 +02:00
Sven Vogel 3c0a885186 added parser rules for declaration, assignment, definition 2024-04-26 16:53:41 +02:00
Sven Vogel f6df192686 added counter examples to yacc 2024-04-26 16:53:04 +02:00
SirTalksalot75 c5d70fdf7e
Merge pull request #25 from Servostar/4-Read-Source-File
4 read source file
2024-04-26 16:25:12 +02:00
Ur Mom 72bba3278a updated main.c 2024-04-26 16:21:54 +02:00
SirTalksalot75 cebe5c5bf4
Merge pull request #32 from Servostar/main
Update for branch 4
2024-04-26 16:16:21 +02:00
SirTalksalot75 7c1ec9b6e7
Merge pull request #31 from Servostar/30-fix-build-on-windows
30 fix build on windows
2024-04-26 16:15:16 +02:00
SirTalksalot75 5f53d1dce4
Update main.c
changed indendation and declared and initialized yyin after file opening
2024-04-25 14:02:12 +02:00
Sven Vogel 6f30be17e9 added dependency section in README 2024-04-24 23:58:15 +02:00
Sven Vogel df927cf7d6 fixed flag error and made option nounistd in lexer depend on compiler used 2024-04-24 22:47:59 +02:00
Sven Vogel 8cd1f2fb0d added compile flags which differ for MSVC and other compiler (GCC/Clang) 2024-04-24 22:37:21 +02:00
Sven Vogel d673d1de0a removed dependency of unistd.h from lexer 2024-04-24 22:36:58 +02:00
Sven Vogel 501f6f1602 file name macro searches for last char instead of last string 2024-04-24 22:31:35 +02:00
SirTalksalot75 520520e576
Update main.c
moved atexit() to setup
2024-04-23 15:27:11 +02:00
SirTalksalot75 fafcb942e0
Update main.c
fixed typo, and changed close_file function
2024-04-23 14:38:30 +02:00
SirTalksalot75 dad9cbb93a
Update main.c
fixed typo
2024-04-23 14:32:00 +02:00
SirTalksalot75 7797595fef
Update main.c
added File Insertion through arguments
2024-04-23 14:25:49 +02:00