Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

add: new project branding under frostc #7

Merged
merged 1 commit into from
Jan 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:

- name: Generate coverage report
run: |
hpc-codecov cabal:glados-test --exclude Main,Paths_glados --out codecov.json --format codecov --verbose
hpc-codecov cabal:frostc-test --exclude Main,Paths_frostc --out codecov.json --format codecov --verbose

- name: Publish coverage report to Discord
if: github.ref == 'refs/heads/main'
Expand All @@ -95,7 +95,7 @@ jobs:
if: github.ref == 'refs/heads/main'
run: |
cabal haddock --haddock-html --haddock-hyperlink-source --haddock-quickjump
echo "DOCS_DIR=$(find dist-newstyle/build -type d -path '*/doc/html/glados' | head -n 1)" >> $GITHUB_ENV
echo "DOCS_DIR=$(find dist-newstyle/build -type d -path '*/doc/html/frostc' | head -n 1)" >> $GITHUB_ENV

- name: Deploy Haddock to GitHub Pages
uses: ./external/actions-gh-pages
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ jobs:

- name: Get binary path
run: |
mv "$(cabal list-bin exe:glados)" "$(cabal list-bin exe:glados)_$(uname -s)_$(uname -m)"
echo "GLADOS_BIN=$(cabal list-bin exe:glados)_$(uname -s)_$(uname -m)" >> $GITHUB_ENV
mv "$(cabal list-bin exe:frostc)" "$(cabal list-bin exe:frostc)_$(uname -s)_$(uname -m)"
echo "GLADOS_BIN=$(cabal list-bin exe:frostc)_$(uname -s)_$(uname -m)" >> $GITHUB_ENV

- name: Upload artifacts
uses: actions/upload-artifact@v4
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
PROJECT_NAME := glados
PROJECT_NAME := frostc
BUILD_DIR := dist-newstyle
EXECUTABLE := $(PROJECT_NAME)

BUILD_OUTPUT := $(shell cabal list-bin exe:glados)
BUILD_OUTPUT := $(shell cabal list-bin exe:frostc)

COLOR_RESET := \033[0m
COLOR_BLUE := \033[1;34m
Expand Down
4 changes: 2 additions & 2 deletions app/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ optionsInfo =
O.info
(O.helper <*> optionsParser)
( O.fullDesc
<> O.progDesc "Compile FrostLang source code to LLVM IR"
<> O.header "FrostLang Compiler"
<> O.progDesc "Compile Frost source code to LLVM Intermediate Representation"
<> O.header "The Frost Programming Language Compiler"
)

compile :: String -> String -> Bool -> E.ExceptT CompileError IO String
Expand Down
4 changes: 2 additions & 2 deletions docs/book.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"title": "FrostLang HandBook",
"description": "Developer Cheat Sheet for the FrostLang Programming Language",
"title": "The Frost Programming Language Handbook",
"description": "Developer Cheat Sheet for the the Frost Programming Language",
"plugins": [
"code",
"search",
Expand Down
4 changes: 2 additions & 2 deletions docs/developer-manual/contributing/building-from-source.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Before you begin, ensure you have the following tools installed:
Clone the Frost repository and initialize its submodules:

```bash
git clone --recursive https://github.com/Jabolol/glados.git
git clone --recursive https://github.com/Jabolol/frost.git
cd frost
```

Expand Down Expand Up @@ -68,7 +68,7 @@ Before you begin, ensure you have the following tools installed:

We maintain Haddock documentation for the Frost compiler. It is currently hosted
on GitHub Pages and can be accessed at
[https://jabolol.github.io/glados/](https://jabolol.github.io/glados/).
[https://jabolol.github.io/frost/](https://jabolol.github.io/frost/).

To generate the documentation locally, run the following command:

Expand Down
4 changes: 2 additions & 2 deletions docs/user-manual/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ journey with Frost programming. Currently available for `Linux` (x86_64) and

**Download and Install**

1. Navigate to the [releases page](https://github.com/Jabolol/glados/releases/)
1. Navigate to the [releases page](https://github.com/Jabolol/frost/releases/)
2. Download the latest version for your operating system
3. Extract the archive to your preferred location
4. Add the `frostc` binary to your system's PATH
Expand Down Expand Up @@ -85,7 +85,7 @@ Save it as `hello.ff` and use
program:

```bash
./frostc -i hello.ff -o hello.ll | lli
frostc -i hello.ff -o hello.ll | lli
```

## Next Steps
Expand Down
6 changes: 3 additions & 3 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ run the LLVM IR. For example, to run the Mandelbrot set example, you can run the
following commands:

```sh
$ ./glados -i mandelbrot.ff -o mandelbrot.ll
$ frostc -i mandelbrot.ff -o mandelbrot.ll
```

> [!TIP]
Expand Down Expand Up @@ -91,7 +91,7 @@ Have a look at [`echo.ff`](echo.ff) for the acutal implementation
2. Compile the program

```sh
$ ./glados -i echo.ff -o echo.ll
$ frostc -i echo.ff -o echo.ll
```

3. Run the server
Expand Down Expand Up @@ -125,7 +125,7 @@ sum: int int -> int = a b {
2. Compile the `sum.ff` file to LLVM IR:

```sh
$ ./glados -i sum.ff -o sum.ll
$ frostc -i sum.ff -o sum.ll
```

#### Embedding in `C`
Expand Down
14 changes: 7 additions & 7 deletions glados.cabal
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cabal-version: 3.4
name: glados
name: frostc
version: 1.0.0.0
synopsis: Generic Language and Data Operand Syntax
synopsis: The Frost Programming Language Compiler
license: MIT
license-file: LICENSE
author: Javier R
Expand All @@ -12,7 +12,7 @@ extra-doc-files: README.md

source-repository head
type: git
location: git@github.com:EpitechPromo2027/B-FUN-500-BAR-5-2-glados-oriol.linan.git
location: git@github.com:Jabolol/frost.git

common warnings
ghc-options:
Expand Down Expand Up @@ -64,13 +64,13 @@ library
hs-source-dirs: lib
default-language: Haskell2010

executable glados
executable frostc
import: warnings
main-is: Main.hs
build-depends:
base ^>=4.17.2.1,
filepath >=1.4.2 && <1.5,
glados,
frostc,
llvm-hs-pretty >=0.9.0 && <0.10,
optparse-applicative >=0.18.1 && <0.19,
pretty-simple >=4.1.2 && <4.2,
Expand All @@ -80,7 +80,7 @@ executable glados
hs-source-dirs: app
default-language: Haskell2010

test-suite glados-test
test-suite frostc-test
import: warnings
default-language: Haskell2010
type: exitcode-stdio-1.0
Expand Down Expand Up @@ -110,7 +110,7 @@ test-suite glados-test
QuickCheck,
base ^>=4.17.2.1,
bytestring >=0.11.2 && <0.12,
glados,
frostc,
hspec,
hspec-discover,
llvm-hs-pure >=9.0.0 && <9.1,
Expand Down
Loading