Commit graph

  • a191f91bff Merge branch 'lexer' into dev Matteo Flebus 2026-01-21 16:20:45 +01:00
  • 26ac0ffe05 feat(lexer): created parser utils Matteo Flebus 2026-01-21 16:19:10 +01:00
  • 7e413547e1 fix: free hash_map for variables at end of program Matteo Flebus 2026-01-21 15:14:22 +01:00
  • 4d27cea46b feat: basic foundations for functional testing Gu://em_ 2026-01-20 23:00:20 +01:00
  • b5b40f303c fix: made all includes relatives for the wellbeing of all LSPs seeing this project Gu://em_ 2026-01-20 22:16:46 +01:00
  • 71e58e38b8 fix: new lexer is linked to everything Matteo Flebus 2026-01-20 20:32:59 +01:00
  • d5a1ec3ca6 fix(parser): adapting to new lexer Matteo Flebus 2026-01-20 20:06:25 +01:00
  • bf929d413f Merge branch 'lexer' into dev Matteo Flebus 2026-01-20 19:59:06 +01:00
  • a1a8cffbce Merge branch 'parser' into dev Matteo Flebus 2026-01-20 19:58:47 +01:00
  • c3ab2585e1 feat(parser): adapted to new lexer without static var Matteo Flebus 2026-01-20 19:54:29 +01:00
  • f1955f0532 refactor(lexer): now use struct instead of static var Matteo Flebus 2026-01-20 18:59:40 +01:00
  • d59b72dc45 feat(lexer): destroy_lexer_context Matteo Flebus 2026-01-20 19:40:00 +01:00
  • 927e4ea25a fix(lexer): typo in func name Matteo Flebus 2026-01-20 19:29:24 +01:00
  • 603def1597 fix: includes with relative path and memory leaks Gu://em_ 2026-01-20 19:25:55 +01:00
  • bbb69fddca refactor(lexer): now use struct instead of static var Matteo Flebus 2026-01-20 18:59:40 +01:00
  • f38e828c0a Merge branch 'parser' into dev (keeping parser) Matteo Flebus 2026-01-19 19:37:59 +01:00
  • 4c7029ccc0 Merge branch 'vars' into dev william.valenduc 2026-01-19 18:21:13 +00:00
  • 913e3bb5f5 feat(expansion): add special var expansion tests $$ and $? william.valenduc 2026-01-19 18:05:42 +00:00
  • 868b1cae17 fix(vars): vars_default var name $$ -> $ william.valenduc 2026-01-19 18:05:00 +00:00
  • e640e7bdbd fix(ast): update include paths to relative william.valenduc 2026-01-19 18:15:38 +00:00
  • e569439e78 fix(string_utils): update include sys/types.h -> stddef.h william.valenduc 2026-01-19 18:12:28 +00:00
  • c1f1a2fc37 fix(parser): 3098750984535 compilations errors in parsing_utils Matteo Flebus 2026-01-19 19:15:28 +01:00
  • b443cd1876 feat(expansion) 10291 expansion william.valenduc 2026-01-19 17:55:16 +00:00
  • 6b539d1eac Merge branch 'lexer' into dev Matteo Flebus 2026-01-19 18:52:44 +01:00
  • e6bd92af38 fix(lexer): now raising error on unmatched quote, rather than crashing Matteo Flebus 2026-01-19 18:52:23 +01:00
  • e3a038677f Merge branch 'lexer' into dev Matteo Flebus 2026-01-19 18:20:08 +01:00
  • 454bd76abc fix(lexer): now really handling quotes Matteo Flebus 2026-01-19 18:19:35 +01:00
  • 95da4a56fa Revert "fix(lexer): lexing_mode depending on quote" Matteo Flebus 2026-01-19 17:56:08 +01:00
  • d324d8099c Merge branch 'lexer' into dev Matteo Flebus 2026-01-19 17:48:20 +01:00
  • ed4c3d475c fix(lexer): lexing_mode depending on quote Matteo Flebus 2026-01-19 17:47:29 +01:00
  • b5267a7e1b Merge branch 'lexer' into dev Matteo Flebus 2026-01-19 17:35:52 +01:00
  • bf7b7f7f68 doc(lexer): update Matteo Flebus 2026-01-19 17:35:37 +01:00
  • c81afc2c69 feat(lexer): quote handling Matteo Flebus 2026-01-19 17:32:45 +01:00
  • 2ebf56dde7 fix(hash_map): fixed leak on value update william.valenduc 2026-01-19 15:28:35 +00:00
  • 3cf1960a00 fix(utils): Makefile.am sources william.valenduc 2026-01-18 01:45:27 +00:00
  • 096a7d81a0 feat: vars initialization william.valenduc 2026-01-18 01:36:04 +00:00
  • 953b05fba0 merge(expansion) william.valenduc 2026-01-18 01:32:11 +00:00
  • 34c741d86e feat(expansion): expand_var and expand william.valenduc 2026-01-18 01:27:31 +00:00
  • a16712e802 feat(expansion): special_variable_with_braces test william.valenduc 2026-01-18 00:29:31 +00:00
  • df7cc02eb9 feat(string_utils): insert_into william.valenduc 2026-01-17 23:59:09 +00:00
  • 0c9c5dc1f8 feat(vars): get_var_or_env william.valenduc 2026-01-17 23:58:15 +00:00
  • cf5da6f231 feat(hash_map): destroy_pair_list william.valenduc 2026-01-17 23:57:59 +00:00
  • 0c6c357161 feat(vars): vars william.valenduc 2026-01-17 22:46:10 +00:00
  • 78068f53bd feat(hash_map): hash_map william.valenduc 2026-01-17 22:45:27 +00:00
  • c299882586 fix: now compiles and works for simple commands + clang format matteo 2026-01-17 19:11:55 +01:00
  • e9b6d39760 Implemented some ast handlings... Jean Herail 2026-01-17 17:33:22 +01:00
  • cf7825aaf0 feat(gitignore): debug and testsuite matteo 2026-01-17 18:02:00 +01:00
  • 446d1ebd7a fix(main): remove unecessary unknown header matteo 2026-01-17 18:00:34 +01:00
  • e8d10523ae feat(testsuite): autotools working, testsuite and debug implemented and working matteo 2026-01-17 17:53:37 +01:00
  • acbcb860a4 fix(lexer): memory leaks matteo 2026-01-17 11:38:23 +01:00
  • 2c1f210d37 fix(lexer): some memory leaks + removed useless [at_begining] variable matteo 2026-01-17 11:06:50 +01:00
  • f475f4d4ec fix: updated main to a parse-execute loop and changed error codes from an enum to macros Guillem George 2026-01-16 20:05:49 +01:00
  • a4fcce530c rebased lexer on dev matteo 2026-01-17 10:43:23 +01:00
  • d377b80803 feat(vars): vars william.valenduc 2026-01-17 22:46:10 +00:00
  • b7b6a6a8d5 feat(hash_map): hash_map william.valenduc 2026-01-17 22:45:27 +00:00
  • 5d87e87f2e fix: lot of fixes in parsing. Now code should be fully compliant with the doc grammar. WARNING: not tested yet Gu://em_ 2026-01-17 20:15:27 +01:00
  • 352c122549 fix: now compiles and works for simple commands + clang format matteo 2026-01-17 19:11:55 +01:00
  • 6099bbb9e3 Merge branch 'execution' into dev matteo 2026-01-17 18:08:21 +01:00
  • f37e7dd217 feat(gitignore): debug and testsuite matteo 2026-01-17 18:02:00 +01:00
  • 0ef11f866d fix(main): remove unecessary unknown header matteo 2026-01-17 18:00:34 +01:00
  • e7b24d0ed6 feat(testsuite): autotools working, testsuite and debug implemented and working matteo 2026-01-17 17:53:37 +01:00
  • bf992f2db4 Implemented some ast handlings... execution Jean Herail 2026-01-17 17:33:22 +01:00
  • f887c90ec5 feat: elif support, fixed a lot of inconcistencies with the grammar and updated code according to the behaviour described in the header. Also fixed some typos and doc errors Gu://em_ 2026-01-17 17:20:13 +01:00
  • 346ad17e26 docs: reworked parser header to fully comply with the given grammar and added a language representation for each parse_* function Gu://em_ 2026-01-17 16:40:53 +01:00
  • e80058a765 Merge branch 'lexer' into dev matteo 2026-01-17 16:26:30 +01:00
  • 1fc54e2bf3 Merge remote-tracking branch 'origin/main_loop' into dev Gu://em_ 2026-01-17 15:47:54 +01:00
  • f4d7f58ef5 fix(lexer): memory leaks matteo 2026-01-17 11:38:23 +01:00
  • 6715d72cd7 fix(lexer): some memory leaks + removed useless [at_begining] variable matteo 2026-01-17 11:06:50 +01:00
  • f226013955 rebasing lexer on dev matteo 2026-01-17 10:52:32 +01:00
  • d269e82df6 rebased lexer on dev matteo 2026-01-17 10:43:23 +01:00
  • dadbebfceb feat(expansion): parse_var_name and tests william.valenduc 2026-01-16 21:48:27 +00:00
  • ccb9438d69 fix(ast): the same typo Matteo Flebus 2026-01-16 20:32:56 +01:00
  • 7ef87583da Merge branch 'ast' into dev Matteo Flebus 2026-01-16 20:31:40 +01:00
  • 67d76ac895 fix(ast): typo Matteo Flebus 2026-01-16 20:31:30 +01:00
  • c3a92354b7 Merge branch 'ast' into dev Matteo Flebus 2026-01-16 20:30:15 +01:00
  • 1cd827180a fix(ast): add ast_end in building process Matteo Flebus 2026-01-16 20:30:04 +01:00
  • ebcc647bda Merge branch 'parser' into dev Matteo Flebus 2026-01-16 20:28:24 +01:00
  • ce60a95471 fix(parser): made it compile Matteo Flebus 2026-01-16 20:27:57 +01:00
  • 9e56654d31 feat(ast): AST_END type implemented Matteo Flebus 2026-01-16 20:19:12 +01:00
  • ed42f0b93d feat(parser): parse_list() implemented Matteo Flebus 2026-01-16 20:12:29 +01:00
  • b3d44317b0 fix: updated main to a parse-execute loop and changed error codes from an enum to macros Guillem George 2026-01-16 20:05:49 +01:00
  • f33498fb13 fix(parser): moved macro declaration from parser.h to parsing_utils.h Matteo Flebus 2026-01-16 19:45:15 +01:00
  • bf59c5717e new token types Guillem George 2026-01-16 19:39:17 +01:00
  • 10ce140e37 fix(parser + lexer): interaction -- WIP Matteo Flebus 2026-01-16 19:31:58 +01:00
  • 04529f858c fix: compiling but not working -- need debug Matteo Flebus 2026-01-15 20:42:28 +01:00
  • 1eecb1bd42 fix: merging all the code Matteo Flebus 2026-01-15 18:49:42 +01:00
  • 2e9e98d343 Merge branch 'parser' into dev Matteo Flebus 2026-01-15 17:47:00 +01:00
  • eb5f57cbaa fix(parser): rename cmd => command Matteo Flebus 2026-01-15 17:46:24 +01:00
  • 74bba63025 Merge branch 'ast' into dev Matteo Flebus 2026-01-15 17:42:26 +01:00
  • f0e3c2f41b fix(ast): rename *_cmd() functions to *_command() Matteo Flebus 2026-01-15 17:41:15 +01:00
  • f7bf0ece52 Merge branch 'parser' into dev Matteo Flebus 2026-01-15 17:35:21 +01:00
  • 89ff5f4b1e fix(parser): making it compile -- UNSTABLE Matteo Flebus 2026-01-15 17:29:34 +01:00
  • e752d872c7 Merge branch 'parser' into dev Matteo Flebus 2026-01-15 17:25:35 +01:00
  • 1116eef083 fix(parser): make it compile Matteo Flebus 2026-01-15 17:25:21 +01:00
  • 30df2993ee refactor(ast): one file per ast_type -- FINISHED Matteo Flebus 2026-01-15 17:12:06 +01:00
  • 38f5a35885 refactor(ast): one file per ast_type -- UNSTABLE (4) Matteo Flebus 2026-01-15 15:59:42 +01:00
  • e3ec484621 refactor(ast): one file per ast_type -- UNSTABLE (3) Matteo Flebus 2026-01-15 15:53:56 +01:00
  • 68d8a1fd13 refactor(ast): one file per ast_type -- UNSTABLE (2) Matteo Flebus 2026-01-14 20:53:57 +01:00
  • 80e4b6c2fd feat: suport for the new lexer and if/else structures Guillem George 2026-01-14 20:53:47 +01:00
  • f6573d81f0 feat(pretty-print): Just casually implemented the graphviz representation of parsed AST Jean Herail 2026-01-14 20:42:31 +01:00