aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2024-09-13Fix norme issues for env.h and repl.cDominik Kaiser
TODO: Fix for tokenizer.c as well. This was probably already solved in another branch though.
2024-09-13Fix SEGV on invalid redirectionDominik Kaiser
2024-08-29Handle empty inputDominik Kaiser
2024-08-29 Update replDominik Kaiser
2024-08-29Merge branch 'main' into parserDominik Kaiser
2024-08-11fixed |> fixed norm added new functionChristopher Uhlig
2024-08-11Remove assignsDominik Kaiser
I found out that there's a difference between shell variables and env variables. We don't have to implement shell variables, so I removed all code that handles them.
2024-08-11Fix parser bugsDominik Kaiser
2024-08-11Merge changes from main into parser branchDominik Kaiser
2024-08-09removed normitte errors in tokenizerChristopher Uhlig
2024-08-09fixed norm errors that i sawChristopher Uhlig
2024-08-09test version with a bunch of fixesChristopher Uhlig
2024-08-09fixed the -1 letter tstill dont try \\ xd and for the case < in.txt cat -e > ↵Christopher Uhlig
out.txt | grep test im working on it >D
2024-08-09shorten version with buggChristopher Uhlig
2024-08-08old version improved for edgecase and removed leaksChristopher Uhlig
2024-08-05tried without manz changes to improve it pls test it also doueble and single ↵Christopher Uhlig
quote again
2024-08-05fixed norm stuffChristopher Uhlig
2024-08-05made the if debug around print tokenChristopher Uhlig
2024-08-05update for sanityzer in condiprintChristopher Uhlig
2024-08-05remove strncpy out of tokenizer fChristopher Uhlig
2024-08-05removed notes out of tokenizer.cChristopher Uhlig
2024-08-05updated the date in headerChristopher Uhlig
2024-08-04made it norm comform exept one funkction to muchChristopher Uhlig
2024-08-02Refactor parserDominik Kaiser
* Fix norme for free_node.c * Uglify parser.c * Merge parser updates into refactor-parser * Outsource collect_assigns and collect_redirs * Make parse_cmd.c norme conform * Make free_tokens() norme conform * Make collect_assigns.c norme conform * Some refactoring of collect_redirs * Refactor collect_redirs
2024-08-02Add function free_tokens()Dominik Kaiser
2024-08-02Fix some issues in parse_cmd.cDominik Kaiser
2024-08-02Fix print_astDominik Kaiser
2024-07-22Add print_ast functionDominik Kaiser
2024-07-22Fix errors and make the parser workDominik Kaiser
2024-07-22added in repl.c tokenizer + visual and freeChristopher Uhlig
2024-07-22some testcases and changesChristopher Uhlig
2024-07-09Adding working parsingDominik Kaiser
TODO: Refactoring
2024-07-09Remove redundant funcs and add parse funcs to header and MakefileDominik Kaiser
2024-07-09Get colllect_args() to work properlyDominik Kaiser
2024-07-08Add most of parse_cmdDominik Kaiser
2024-07-08Add most of the parserDominik Kaiser
2024-07-08Move assign into cmd nodeDominik Kaiser
2024-07-08Add free_token_and_connect() functionDominik Kaiser
2024-06-28added tokenizer funktion with connection to struct the test with the ↵Christopher Uhlig
printable function didnt worked have to update main as well added currently strncpy in tokenizer test reason later needs to be move also need to add the token part for pipe
2024-06-28Add data structures for tokenizing and parsingDominik Kaiser
* Add data structures and helper functions for ast * Add data structures for tokenizing * Add helper functions for token structures * Include token.h in minishell.h * Add new/free functions for nodes/tokens to Makefile * Add UNREACHABLE macro to debug_tools.h
2024-06-25Add historyDominik Kaiser
2024-06-25Add basic command line Dominik Kaiser
* Initialize terminal and signal handling * Add basic repl that doesn't do anything yet * Add handling for Ctrl-C, Ctrl-D and Ctrl-\ in interactive mode
2024-06-25Add debug toolsDominik Kaiser
* Add dbg() function and debug make rule * Add panic() debug function
2024-06-22Add main.c and minishell.hDominik Kaiser