]> git.dkaiser.de - 42/minishell.git/log
42/minishell.git
14 months agoupdate builtins for env structure
Christopher Uhlig [Fri, 13 Sep 2024 19:21:09 +0000 (21:21 +0200)]
update builtins for env structure

15 months agoupdate for builtins and now 2 envlist
Christopher Uhlig [Wed, 4 Sep 2024 15:53:41 +0000 (17:53 +0200)]
update for builtins and now 2 envlist

15 months agoadded other token append to remove the error that its not at the start
Christopher Uhlig [Thu, 29 Aug 2024 13:57:14 +0000 (15:57 +0200)]
added other token append to remove the error that its not at the start

15 months agojust date
Christopher Uhlig [Thu, 29 Aug 2024 13:56:23 +0000 (15:56 +0200)]
just date

15 months agotemporary here get envlst
Christopher Uhlig [Thu, 29 Aug 2024 13:55:46 +0000 (15:55 +0200)]
temporary here get envlst

15 months ago2nd push with unset export exit and cd
Christopher Uhlig [Sun, 18 Aug 2024 02:30:20 +0000 (04:30 +0200)]
2nd push with unset export exit and cd

16 months agofirst ideas of my understanding
Christopher Uhlig [Fri, 9 Aug 2024 17:08:18 +0000 (19:08 +0200)]
first ideas of my understanding

16 months agoMerge pull request #12 from dpu-kaiser/tokenizer
cuhlig [Fri, 9 Aug 2024 14:26:37 +0000 (16:26 +0200)]
Merge pull request #12 from dpu-kaiser/tokenizer

Tokenizer

16 months agoremove out.txt
Christopher Uhlig [Fri, 9 Aug 2024 14:19:16 +0000 (16:19 +0200)]
remove out.txt

16 months agoremoved normitte errors in tokenizer
Christopher Uhlig [Fri, 9 Aug 2024 13:40:42 +0000 (15:40 +0200)]
removed normitte errors in tokenizer

16 months agofixed norm errors that i saw
Christopher Uhlig [Fri, 9 Aug 2024 13:28:03 +0000 (15:28 +0200)]
fixed norm errors that i saw

16 months agotest version with a bunch of fixes
Christopher Uhlig [Fri, 9 Aug 2024 11:00:47 +0000 (13:00 +0200)]
test version with a bunch of fixes

16 months agofixed the -1 letter tstill dont try \\ xd and for the case < in.txt cat -e > out...
Christopher Uhlig [Fri, 9 Aug 2024 10:40:16 +0000 (12:40 +0200)]
fixed the -1 letter tstill dont try \\ xd and for the case < in.txt cat -e > out.txt | grep test im working on it >D

16 months agoshorten version with bugg
Christopher Uhlig [Fri, 9 Aug 2024 09:45:22 +0000 (11:45 +0200)]
shorten version with bugg

16 months agoold version improved for edgecase and removed leaks
Christopher Uhlig [Thu, 8 Aug 2024 16:53:32 +0000 (18:53 +0200)]
old version improved for edgecase and removed leaks

16 months agoAdd data structure and prototypes for env
Dominik Kaiser [Thu, 8 Aug 2024 15:10:25 +0000 (17:10 +0200)]
Add data structure and prototypes for env

16 months agotried without manz changes to improve it pls test it also doueble and single quote...
Christopher Uhlig [Mon, 5 Aug 2024 19:47:31 +0000 (21:47 +0200)]
tried without manz changes to improve it pls test it also doueble and single quote again

16 months agoadded in header as well
Christopher Uhlig [Mon, 5 Aug 2024 11:55:36 +0000 (13:55 +0200)]
added in header as well

16 months agoadded strncpy in make and removed -g out of main makefile
Christopher Uhlig [Mon, 5 Aug 2024 11:53:50 +0000 (13:53 +0200)]
added strncpy in make and removed -g out of main makefile

16 months agofixed norm stuff
Christopher Uhlig [Mon, 5 Aug 2024 11:47:00 +0000 (13:47 +0200)]
fixed norm stuff

16 months agomade the if debug around print token
Christopher Uhlig [Mon, 5 Aug 2024 11:46:24 +0000 (13:46 +0200)]
made the if debug around print token

16 months agoupdate for sanityzer in condiprint
Christopher Uhlig [Mon, 5 Aug 2024 11:44:04 +0000 (13:44 +0200)]
update for sanityzer in condiprint

16 months agoremove strncpy out of tokenizer f
Christopher Uhlig [Mon, 5 Aug 2024 11:43:07 +0000 (13:43 +0200)]
remove strncpy out of tokenizer f

16 months agoadded strncpy in lib
Christopher Uhlig [Mon, 5 Aug 2024 11:42:32 +0000 (13:42 +0200)]
added strncpy in lib

16 months agoremoved notes out of tokenizer.c
Christopher Uhlig [Mon, 5 Aug 2024 11:25:33 +0000 (13:25 +0200)]
removed notes out of tokenizer.c

16 months agoremoved debugs functions out of header
Christopher Uhlig [Mon, 5 Aug 2024 11:24:32 +0000 (13:24 +0200)]
removed debugs functions out of header

16 months agoremoved .vscode
Christopher Uhlig [Mon, 5 Aug 2024 11:22:54 +0000 (13:22 +0200)]
removed .vscode

16 months agoupdated the date in header
Christopher Uhlig [Mon, 5 Aug 2024 11:21:45 +0000 (13:21 +0200)]
updated the date in header

16 months agoadded second version at some point
Christopher Uhlig [Mon, 5 Aug 2024 11:21:18 +0000 (13:21 +0200)]
added second version at some point

16 months agoadded -g flagg for compile
Christopher Uhlig [Mon, 5 Aug 2024 11:20:11 +0000 (13:20 +0200)]
added -g flagg for compile

16 months agomade it norm comform exept one funkction to much
Christopher Uhlig [Sun, 4 Aug 2024 12:36:51 +0000 (14:36 +0200)]
made it norm comform exept one funkction to much

16 months agoupdated token header but still norm erro idk
Christopher Uhlig [Sun, 4 Aug 2024 12:36:08 +0000 (14:36 +0200)]
updated token header but still norm erro idk

16 months agoadded in repl.c tokenizer + visual and free
Christopher Uhlig [Mon, 22 Jul 2024 12:39:25 +0000 (14:39 +0200)]
added in repl.c tokenizer + visual and free

16 months agosome testcases and changes
Christopher Uhlig [Mon, 22 Jul 2024 12:33:24 +0000 (14:33 +0200)]
some testcases and changes

16 months agodebugger minishell
Christopher Uhlig [Mon, 22 Jul 2024 12:32:22 +0000 (14:32 +0200)]
debugger minishell

17 months agoupdated makefile for tokenizer
Christopher Uhlig [Fri, 28 Jun 2024 20:04:12 +0000 (22:04 +0200)]
updated makefile for tokenizer

17 months agoadded tokenizer funktion with connection to struct the test with the printable functi...
Christopher Uhlig [Fri, 28 Jun 2024 20:03:41 +0000 (22:03 +0200)]
added tokenizer funktion with connection to struct the test with the 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

17 months agoupdated the prototyps for the tokenizer
Christopher Uhlig [Fri, 28 Jun 2024 20:01:20 +0000 (22:01 +0200)]
updated the prototyps for the tokenizer

17 months agoAdd data structures for tokenizing and parsing
Dominik Kaiser [Fri, 28 Jun 2024 13:09:32 +0000 (15:09 +0200)]
Add data structures for tokenizing and parsing

* 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

17 months agoAdd history
Dominik Kaiser [Tue, 25 Jun 2024 13:06:46 +0000 (15:06 +0200)]
Add history

17 months agoAdd basic command line
Dominik Kaiser [Tue, 25 Jun 2024 12:02:02 +0000 (14:02 +0200)]
Add basic command line

* 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

17 months agoAdd debug tools
Dominik Kaiser [Tue, 25 Jun 2024 11:03:28 +0000 (13:03 +0200)]
Add debug tools

* Add dbg() function and debug make rule

* Add panic() debug function

17 months agoAdd space to includes in Makefile
Dominik Kaiser [Mon, 24 Jun 2024 15:55:26 +0000 (17:55 +0200)]
Add space to includes in Makefile

17 months agoAdd libft headers to Makefile
Dominik Kaiser [Mon, 24 Jun 2024 15:41:58 +0000 (17:41 +0200)]
Add libft headers to Makefile

17 months agoAdd libft
Dominik Kaiser [Mon, 24 Jun 2024 14:58:46 +0000 (16:58 +0200)]
Add libft

17 months agoAdd main.c and minishell.h
Dominik Kaiser [Sat, 22 Jun 2024 15:17:16 +0000 (17:17 +0200)]
Add main.c and minishell.h

17 months agoAdd Makefile
Dominik Kaiser [Sat, 22 Jun 2024 15:11:13 +0000 (17:11 +0200)]
Add Makefile