From 2a3a4aa1590dab6ffe32aed7e61e22586a73e19b Mon Sep 17 00:00:00 2001 From: servostar Date: Wed, 5 Jun 2024 21:13:00 +0200 Subject: [PATCH 1/3] added: MSYS2 build for windows to readme --- README.md | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index faca249..2c93aad 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,26 @@ # Gemstone -Gemstone is a programming language compiler written in C with lex and yacc. +Gemstone is a programming language compiler written in C based on flex and GNU bison. +Is uses LLVM to produce optimized native binaries for many platforms. ## Dependencies (build) ### Windows 11 -For setup instruction see issue #30 +#### MSYS2 +Install MSYS2 under Windows 11. Open the MingGW64 environment. Requires: +Install the following packages: - Microsoft Build Tools 2022 (includes: CMake, MSVC) +``` - WinFlexBison [find it here](https://github.com/lexxmark/winflexbison) (needs to be in PATH) - +pacman -S mingw-w64-x86_64-gcc mingw-w64-x86_64-glib2 bison flex mingw-w64-x86_64-llvm cmake git make +``` +Clone the repository and build the gemstone compiler: +``` +cmake . && make release +``` ### GNU/Linux Requires: @@ -20,6 +29,8 @@ Requires: - Make - bison - flex +- LLVM +- Glib 2.0 ## Writing Tests From 3e84af44138bfb4c525ca9bce96b93a9c10fffa2 Mon Sep 17 00:00:00 2001 From: servostar <72654954+Servostar@users.noreply.github.com> Date: Wed, 5 Jun 2024 21:25:31 +0200 Subject: [PATCH 2/3] Update README.md --- README.md | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 2c93aad..48646d5 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,15 @@ -# Gemstone -Gemstone is a programming language compiler written in C based on flex and GNU bison. -Is uses LLVM to produce optimized native binaries for many platforms. +
+ + gemstone logo + +
+
+ +## Gemstone + +Gemstone is a programming language compiler (short: GSC) written in C based on flex and GNU bison. +Is uses LLVM to produce optimized native binaries for many platforms and uses its own builtin build system for more complex project management. ## Dependencies (build) @@ -10,11 +18,8 @@ Is uses LLVM to produce optimized native binaries for many platforms. #### MSYS2 Install MSYS2 under Windows 11. Open the MingGW64 environment. -Requires: Install the following packages: -- Microsoft Build Tools 2022 (includes: CMake, MSVC) ``` -- WinFlexBison [find it here](https://github.com/lexxmark/winflexbison) (needs to be in PATH) pacman -S mingw-w64-x86_64-gcc mingw-w64-x86_64-glib2 bison flex mingw-w64-x86_64-llvm cmake git make ``` Clone the repository and build the gemstone compiler: From ce17efb6ebb92f47fc6c34b5e85915e1d7c021a7 Mon Sep 17 00:00:00 2001 From: Filleo <84237718+flixm16@users.noreply.github.com> Date: Thu, 6 Jun 2024 22:39:04 +0200 Subject: [PATCH 3/3] Update README.md small spelling error --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 48646d5..daaaf32 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ ## Gemstone Gemstone is a programming language compiler (short: GSC) written in C based on flex and GNU bison. -Is uses LLVM to produce optimized native binaries for many platforms and uses its own builtin build system for more complex project management. +It uses LLVM to produce optimized native binaries for many platforms and uses its own builtin build system for more complex project management. ## Dependencies (build)