hey guys,
i have been making programming languages for a while as you might know from previous questions and i have started to make some pretty advanced programming languages. i was wondering if it is possible for me to make my own 'zip' file. i want to be able to get maybe three .txt files lets say and make a program that compresses them into one file. also with another program, i am able to access the data of each individual file by name. i want to create a programming language similar to java and have been thinking about it. if i make every different file a class and the name of the file being the class name, then i am able to easily look at each individual file and it's data. but if i were to do this, then i would have like 5 files and if i were to use a zip file, then it means that i would have to get another library or something that lets me access the contents of zip files.
i do know what i am getting myself into and i do understand that this code can be very complex, but please don't tell me that, i already know. so if you do have an idea of how to do this, then can you please put down some sample code and explain it?
thanks