Skip to content

v1.0.0.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 21 Jan 15:09
· 2 commits to main since this release
8ae752e

8ae752e Merge pull request #7 from Jabolol/jabolol/rebrand-project
771d27c add: new project branding under frostc
c97087e Merge pull request #253 from EpitechPromo2027/jabolol/macro-docs
141fe49 fix: improve macros docs with example
30de054 Merge pull request #252 from EpitechPromo2027/add-macros-to-echo-example
61cf8f5 mod: using macros in echo example
61ffa65 Merge pull request #251 from EpitechPromo2027/jabolol/bump-version
26ae98f feat: release version 1.0.0.0
a280e74 fix: Parser test
8099bf4 Merge pull request #246 from EpitechPromo2027/codegen-unit-test
12c6d5f fix: Codegen/State.hs format
50b7a84 Merge branch 'main' into codegen-unit-test
a38c852 chore: format cabal correctly
3130cca rm: unnecesary Cast cases
1fa1c16 mod: improving assembly unit tests coverage
983a820 Merge pull request #249 from EpitechPromo2027/jabolol/binary-op-docs
f09d3db fix: correct logical operator in expression nodes documentation
ea673e5 fix: remove c style binary operators
669968f Merge pull request #247 from EpitechPromo2027/212-test-the-ast-module
a15aab5 Merge pull request #244 from EpitechPromo2027/193-haddock-documentation
f9274b7 fix: test missing variable cases
d3f955d fix: overhaul assembly test suite
ad178f6 add: Shared.UtilsSpec
b764043 add: missing tests ErrorSpec
2e01f04 add: OperatorSpec
d71ae46 rm: ExprGen.StateSpec
2321035 mod: Operator List
a4a03b1 Merge pull request #245 from EpitechPromo2027/jabolol/docs-fix
1c7677d chore: fix invalid code snippets
e95e846 add: variable test suite
892a080 fix: remove unnecessary comment
917755a add: assembly test suite
af26d16 add: utils test suite
e88bc8e add: state test suite
fb50e30 add: errors test suite
261935c add: test suite files to cabal file
efcce49 [add] Parser PreProcessor haddock documentation comments
97e36e1 [add] Parser State and utils haddock documentation comments
bbd9ac0 [add] Parse Program haddock documentation comments
d33d96d [add] Parse Expr haddock documentation
4966b05 [add] Parser Asm haddock documentation
00a5016 mod: glados.cabal add OperatorSpec test file
9f718f6 add: OperatorSpec
6b46025 rm: unnecesary comment
c23f92b mod: Makefile format test
b48a0d9 mod: glados.cabal add Codegen tests
b4e8e6c add: ControlFlowSpec
e20e343 mod: remove unnecessary monadic context in State function definitions
da6a215 mod: test describe names
9e9febe add: StateSpec
31ed4fe add: FunctionSpec
5e121ee mod: codegen imports
2afe808 mod: CastSpec imports
cda083e add: FunctionSpec
e701a1b add: DataValueSpec
8d39310 add: CastSpec
6a8c87f add: GlobalSpec
16080b7 add: CodegenError Eq instance
5938d7c mod: comment unreachable cast cases
b2d72a3 Merge pull request #243 from EpitechPromo2027/jabolol/qualified-exprgen-import
52a29d9 fix: use qualified import syntax to match the style
764cf85 Merge pull request #242 from EpitechPromo2027/jabolol/example-tip-block
8398e4c chore: add examples to tip codeblock
8381c78 Merge pull request #241 from EpitechPromo2027/jabolol/fix-extra-codeblock
eed2927 chore: remove extra codeblock
f507d0f Merge pull request #240 from EpitechPromo2027/jabolol/readme-example
9f04644 add: mention to haddock docs
f27c387 add: frost example and user manual reference
fa736b0 Merge pull request #239 from EpitechPromo2027/jabolol/example-echo-fix
c469b1b fix: use correct source name
2113e30 Merge pull request #234 from EpitechPromo2027/jabolol/developer-manual
950375c fix: format headers correctly
3c19317 add: introduction developer manual section
61eaad4 add: security developer manual section
d5c448e add: inspiration developer manual section
d528de7 add: extending developer manual section
938da23 add: contributing developer manual section
78d31a9 add: compilation-proces developer manual section
6ba13f6 add: architecture developer manual section
14e7819 add: advanced developer manual section
cec3c50 fix: add correct folder prefix to developer manual summary
d60952e chore: apply formatting
376cf22 Merge pull request #237 from EpitechPromo2027/jabolol/fix-examples-echo
e48b38f docs: update examples improved instructions and steps
0fddbc2 Merge pull request #236 from EpitechPromo2027/jabolol/http-import-examples
5b2e83b chore: update imports to use http instead of local
6c95994 Merge pull request #235 from EpitechPromo2027/jabolol/comment-cleanup
7f68fc0 fix: remove outdated comment
b4fbe57 fix: use haddock prefix
9e73368 add: import, macros and std extra docs
2bce2ac add: developer book summary index
a7b1557 fix: update README to include features and example code
b77c790 fix: docs qol updates
9bf22a2 Merge pull request #232 from EpitechPromo2027/jabolol/docs-decimal-n-macros
ec9e3d3 add: new float and double literal syntax
fd1a5cc Merge pull request #231 from EpitechPromo2027/jabolol/float-suffix-example
a706869 fix: use float suffix syntax
a0eb553 chore: bump llvm-hs-pretty submodule
a8dee1b chore: bump llvm-hs-pretty submodule
acfc574 Merge pull request #226 from EpitechPromo2027/revert-225-224-support-df-suffix-for-explicit-doublefloat-value
31b6209 add: float constants now use FF.Single
89fa035 Revert "Revert "add: explicit float and doubles""
942f58e Revert "add: explicit float and doubles"
a31e72f Merge pull request #225 from EpitechPromo2027/224-support-df-suffix-for-explicit-doublefloat-value
8356e91 add: explicit float and doubles
08ca004 Merge pull request #221 from EpitechPromo2027/220-preprocessor-magic
74d51f3 Merge pull request #222 from EpitechPromo2027/jabolol/3d-opengl-graphics
baa989b chore: order variables based on value
cece586 fix: use double functions and cast floats where necessary
c9d4b28 add: double OpenGL function variants
114787e add: 3d mobius strip render
1a59952 add: opengl to std
3b4e22f add: sdl2 to std
fe2f175 add: preprocessor magic
50a0eb4 Merge pull request #219 from EpitechPromo2027/jabolol/fix-function-pointers
b4566c8 fix: wrap function parameters in pointers
f95bd71 Merge pull request #218 from EpitechPromo2027/jabolol/bnf-move
6718c40 add: bnf to user-manual
f10e7f1 Merge pull request #217 from EpitechPromo2027/jabolol/site-docs
bdb5650 fix: remove duplicated std library
3f074e7 add: user-manual documentation
c4312c0 Merge pull request #216 from EpitechPromo2027/208-function-parameters-are-not-loaded-correctly
d2a8f43 rm: removing unnecessary lines
3898ebf fix: not loading variables when match the expected type
bd67950 Merge pull request #214 from EpitechPromo2027/119-handle-dynamic-ranges
3383f61 Merge branch 'main' into 119-handle-dynamic-ranges
81972cb fix: echo.ff
d2a3911 Merge pull request #213 from EpitechPromo2027/119-handle-dynamic-ranges
07fc9db mod: update comment
b2b6c8c fix: from loop var re declaration
3a54e41 wip: From loop in Codegen
5344f7c [add] Expr.hs tests
723d679 add: dynamic For loops
279358e wip: dynamic For loops
1fc0c5c Merge pull request #211 from EpitechPromo2027/170-create-bnf-documentation
9c79f91 [add] BNF.md PR corrections
5e00b2a [add] ExprSpec.hs operators tests
4ec628e add: example doc file
7eb579b [fix] BNF.md pr corrections
1a83083 Merge pull request #209 from EpitechPromo2027/echo-server-example
e0a3108 del: unnecessary files
d11fb00 fix: echo server example
3698ec2 [add] BNF.md
c49a94b fix: ArrrayAccess loading array operand
3f88b8b add: socker library files
131d19e mod: echo server printing buffer length message
e29ad7d add: echo server working example
d731c62 Merge pull request #207 from EpitechPromo2027/99-new-cleanup-codegen-module
272488b add: instance sigs for conversion prototypes
a339efc fix: split unaryOperators list
032e322 add: monolocalbinds language feature
20dd741 add: instance sigs for expr prototypes
e753349 add: struct field pointer comment
c2fc3d8 fix: remove unnecessary comment
1ad188d add: instance sigs for var prototypes
7df7c15 add: instance sigs for show type
c4dfed9 fix: add extra line to avoid cluttering
cce46a6 add: cleanup codegen
c1708cb mod: loading i8* instead of returning the pointer
c176f9d Merge pull request #206 from EpitechPromo2027/158-support-global-variables
432260e add: global variables examples
bdda3e3 add: globall variables
662193a Merge pull request #205 from EpitechPromo2027/jabolol/example-readme-add
269a645 add: assembly missing example
b0068bd Merge pull request #198 from EpitechPromo2027/188-feature-request-inline-assembly
ec3c376 Merge branch 'main' into 188-feature-request-inline-assembly
1b52a67 feat: support inline assembly generation
9675506 add: example sum program using assembly
357887e add: missing function comment
4543bcd Merge pull request #204 from EpitechPromo2027/jabolol/cli-opts-revamp
af65ce2 fix: handle stdin, default to stdout and robust combinations
e1133d9 Merge pull request #203 from EpitechPromo2027/201-returning-void-is-broken
ecd33dc fix: Function returning void
5975ac0 add: filepath dependency to exe
2aad67d Merge branch '188-feature-request-inline-assembly' of github.com:EpitechPromo2027/B-FUN-500-BAR-5-2-glados-oriol.linan into 188-feature-request-inline-assembly
79b7384 add: parse new asm syntax
a751655 feat: generate llvm inline assembly
a93e3b1 Merge pull request #200 from EpitechPromo2027/197-revert-examples-to-use-pointer-arithmetic
47ae55e fix: remove array indexing in favor of pointer arithmetic
ff76ce8 add: parse Assembly
231cf2a Merge pull request #196 from EpitechPromo2027/jabolol/unnecessary-do
c4df025 chore: remove unnecessary do
8a5178f fix: supporting mutliple nested structures
4f9521d Merge pull request #195 from EpitechPromo2027/166-fix-unsupported-definition-structaccess
20d6194 add: StructAccess to generateAssignment
6d7893e Merge pull request #194 from EpitechPromo2027/jabolol/loop-perf-improv
c5461fd fix: do not use alloca in loops to avoid stack overflows
13a5714 Merge pull request #192 from EpitechPromo2027/jabolol/spinning-donut
7214009 add: instructions to embed frost in other programming languages
851d86e feat: spinning 3d ascii donut example
953cac5 chore: update example list
c3f450d add: std/lib.ff library file
4e8023a Merge pull request #191 from EpitechPromo2027/jabolol/foreign-void-decl
de06d6d fix: filter void parameters from foreign declarations
2d01feb Merge pull request #190 from EpitechPromo2027/184-address-of-confused-with-bitand
977f032 add: AddrOf as .&
b769c2f Merge pull request #189 from EpitechPromo2027/jabolol/compat-layer-fix
eb87740 feat: add unsupported conversion error handling and refactor type casting logic
97ea3be Merge pull request #183 from EpitechPromo2027/182-relative-imports-do-not-work
7300767 fix: relative imports are now relative to SourceFile
c08307b Merge pull request #181 from EpitechPromo2027/161-array-indexing-creates-incorrect-llvm-code
e6ab1bb Merge branch 'main' into 161-array-indexing-creates-incorrect-llvm-code
5c9f2be mod: replace pointer operations with array accessing
906870e Merge pull request #180 from EpitechPromo2027/stdlib
90f9e95 fix: ArrayAccess incorrect pointer loading
fa200ef add: auth when FROST_PRIVATE_REGISTRY_AUTH
880fb2d Merge pull request #179 from EpitechPromo2027/171-test-http-url-import
25bc121 fix: issue with external URL for imports
a81a389 fix: array accessing types
699b560 Merge pull request #169 from EpitechPromo2027/155-global-strings-creare-incorrect-indentifiers
681d2ff add: fresh and freshName local functions
a2d4de3 Merge pull request #164 from EpitechPromo2027/160-parse-defer-keyword
29a177d Merge branch 'main' of github.com:EpitechPromo2027/B-FUN-500-BAR-5-2-glados-oriol.linan into 160-parse-defer-keyword
bfc12bf add: InvalidDefer error
520b027 Merge pull request #168 from EpitechPromo2027/159-void-implicit-return-bug
c02b791 add: defer by scope
d7ed8c4 [add] defer tests
7513e62 fix: issue with defer
48c1e8f fix: bug with implicit returns in TVoid function and test compilation
3ab66a7 add: defer
5cce6fb Merge pull request #163 from EpitechPromo2027/jabolol/unary-fixes
4252a7c fix: missing unary cases
3632364 Merge pull request #153 from EpitechPromo2027/parse-imports
0b619f5 Merge pull request #137 from EpitechPromo2027/117-handle-nested-structs
57c73fe Merge pull request #156 from EpitechPromo2027/141-implement-new-changes-structaccess-codegen
fe73cd4 rm: unnecesary comment
0e723dc add: hello simple example
be4f5d8 fix: add contents to readme
b0b55ab Merge pull request #154 from EpitechPromo2027/jabolol/demo-cleanup
b539754 add: examples directory
27c77c7 fix: remove redundant demo directory
a44fcdd fix: clean up readme file
f8b6772 fix: issue with anySingle
6fe6f6a wip: parse imports
21eb94e fix: structAcces new implementation
532e537 Merge pull request #152 from EpitechPromo2027/jabolol/variadic-foreign-functions
64bd816 add: support for foreign variadic functions
a3cc347 Merge pull request #151 from EpitechPromo2027/136-support-variadic-functions
b7c2483 add: variadic functions
e0a9075 Merge pull request #150 from EpitechPromo2027/148-custom-int-types-do-not-work
a585872 add: lexeme to custom int
861ba88 Merge pull request #139 from EpitechPromo2027/jabolol/misc-fixes
5f5358d fix: stack overflows and float/int specific operators
1445caf Merge pull request #146 from EpitechPromo2027/145-top-level-typedef-makes-the-project-have-no-globals
d0e7171 add: space consumer at start of Program
6f79a0e Merge pull request #144 from EpitechPromo2027/140-initializing-a-struct
d566d66 Merge branch '117-handle-nested-structs' into 140-initializing-a-struct
3899c43 Merge pull request #143 from EpitechPromo2027/142-typedef-does-not-consume-whitespace
3fd844f add: Struct Literal
eae1b92 add: lexeme to TypeDefinition
1c74069 fix: support correct pointer arithmetic
156ae05 fix: LLVM unary ops and casts
92fa191 Merge pull request #138 from EpitechPromo2027/135-example_fn-is-an-invalid-symbol-name
dfc7221 add: snake case in identifier
7794581 fix: test cases to work with new type TUnknown
b720fec Merge branch 'main' of github.com:EpitechPromo2027/B-FUN-500-BAR-5-2-glados-oriol.linan into 117-handle-nested-structs
ea41a21 Merge pull request #133 from EpitechPromo2027/jabolol/static-strings
fb02f02 Merge pull request #134 from EpitechPromo2027/130-postfix-operators-not-working
6633889 fix: store strings in ro section
f9f0291 fix: handle escape sequences in the AST as an unit
8753d77 mod: syntax for ArrayAccess and Deref
19fa61c mod: Postfix start of operations
6b0732d Merge pull request #129 from EpitechPromo2027/jabolol/foreign-functions
4db293a mod: StructAccess takes 2 Expr
c6759bf add: foreign function src loc
a3191b7 add: generate LLVM foreign function declarations
1bb2fa1 add: byte type as void* alternative
fc9843d add: global foreign function support
fc6f394 add: foreign function parser
8ff6267 add: foreign function type
9ee131a Merge pull request #126 from EpitechPromo2027/118-handle-nested-arrays
8155d4b Merge branch 'main' into 118-handle-nested-arrays
e619f9a Merge pull request #128 from EpitechPromo2027/jabolol/br-phi-fix
35399f2 fix: generate if, for, while loops differently
d8667e8 mod: ArrayAccess by . and Array separator
6115e63 Merge pull request #125 from EpitechPromo2027/122-parse-function-type-without
69cd5b7 fix: build error
dbbd1b7 add: parse nested ArrayAccess
e5457d2 add: ability to Call a Call
d10d303 mod: parser State
e29d5d4 add: higher order functions without typedef
3d8ad32 mod: Env to State
570c7cb add: test for typedef
c96ae27 add: test for higher order functions
1c112b0 mod: remove () from function type
4419aad Merge pull request #115 from EpitechPromo2027/89-implement-structures-in-codegen
c8c8397 fix: Data.Maybe import
df1e030 fix: structures name
ec446dd Merge pull request #124 from EpitechPromo2027/123-incorrect-precedence-with-comparison
162c128 Merge pull request #121 from EpitechPromo2027/120-replace-void-with-never
457f71d add: operator hierarchy with comparisons
8e69fde mod: switch void for never
e15666a Merge pull request #112 from EpitechPromo2027/103-parse-expr
3a0513f add: block comments
a8c6aa7 mod: return symbol is now ret
6a59e6b Merge branch '103-parse-expr' of github.com:EpitechPromo2027/B-FUN-500-BAR-5-2-glados-oriol.linan into 103-parse-expr
b920e87 add: implicit returns to all Expr
939c009 Merge branch 'main' into 103-parse-expr
7f433ec mod: delete unnecesary files
8f447d4 add: parse Operation and UnaryOperation infix with hierarchy
ca0af69 add: test for failing features
58c6c29 add: parse Cast
3631e01 add: Support for structures and structure accessing
7cbd131 add: parse ArrayAccess
8bd6fba add: parse StructAccess
54670d8 add: parse Continue and parse Break
560a9bc Merge pull request #113 from EpitechPromo2027/jabolol/codegen-ir-block
7190072 fix: br overriding ret instruction and phi nodes
78a626e Merge pull request #111 from EpitechPromo2027/110-fix-ast-spacing-issues
2dac1c3 add: parse For
bf99b31 add: test for While
853e50f mod: clean up tests for Expr
668c8c4 fix: env returns to original state after Block
552ef53 add: Type to function parameters
605297a add: SrcLoc to start of Parser
0cceaf2 add: parse While
9f03709 fix: spacing issue with parse If
ffab86a add: identifier to use $
b1696fe Merge pull request #107 from EpitechPromo2027/jabolol/fix-core-entrypoint
3e2d0dd fix: parse correct file
8f45d72 add: params to State
40989b3 Merge pull request #106 from EpitechPromo2027/103-parse-expr
173a9ec fix: switch infix to prefix with Operation
def5a3d Merge pull request #6 from Jabolol/jabolol/fix-chrome-ci
a2e9308 fix: glados.cabal error
6f783cc [add] Parse Expr tests
f9cdef7 fix: install chrome dependencies
9e53eb0 Merge pull request #105 from EpitechPromo2027/104-parse-program
2110801 Merge branch 'main' into 104-parse-program
ab276a7 Merge pull request #77 from EpitechPromo2027/jabolol/new-codegen-impl
6b2bdfb Merge branch 'main' into jabolol/new-codegen-impl
e74b88b Merge branch '104-parse-program' of github.com:EpitechPromo2027/B-FUN-500-BAR-5-2-glados-oriol.linan into 104-parse-program
59e535c [fix] TypeDefinition tests
2658f0f add: parse
d5ce9e5 add: parse Program
5bbc673 Merge pull request #95 from EpitechPromo2027/89-implement-structures-in-codegen
67c2a26 Merge pull request #98 from EpitechPromo2027/jabolol/new-codegen-test
a16fe2b Merge branch '103-parse-expr' of github.com:EpitechPromo2027/B-FUN-500-BAR-5-2-glados-oriol.linan into 103-parse-expr
1f38e8c add: parse Return
06f063b [fix] UnaryOperation tests
674b6d4 Merge branch '103-parse-expr' of github.com:EpitechPromo2027/B-FUN-500-BAR-5-2-glados-oriol.linan into 103-parse-expr
ff5b00c fix: parse UnaryOperation
3f38dd7 [fix] Unary Operation tests
355993e [fix] Unary Operation parser
bbf1a2c add: parse Function, If and Op
0e7442c [add] Parse Expr Assignment
a96a89c add: error UndefinedVar
ef6936c add: parse Declaration
b91b197 Merge branch '103-parse-expr' of github.com:EpitechPromo2027/B-FUN-500-BAR-5-2-glados-oriol.linan into 103-parse-expr
1495f4b [add] Custom Errors
95c6627 add: parse Var
22d4896 Merge branch '103-parse-expr' of github.com:EpitechPromo2027/B-FUN-500-BAR-5-2-glados-oriol.linan into 103-parse-expr
afde0ec add: parse SrcLoc
11028cd [add] Parse TypeDefinition tests
089848f add: TypeDefinition
e51a7ee Merge pull request #100 from EpitechPromo2027/70-parse-type
10acd1e Merge branch 'main' into 70-parse-type
5c6dc78 mod: Env to use record syntax
d707c73 [mod] removed sc and default int is now 32
b40fc8c [mod] requested changes on functionType, structType and unionType
7f044ea [mod] requested changes
f87a1a1 [add] Type Parser custom types
fd7f20e [add] Type Parser arrays
ad4ff32 [add] Type Parser functions, structs, unions and typedefs
0f6da99 add: test individual codegen functions
a419d25 add: simple codegen test suite
0c95ce5 fix: delete misc example references
9fd128a Merge pull request #97 from EpitechPromo2027/jabolol/fix-if-gen
18bd152 fix: incorrect if generation
ce6b8f9 Merge pull request #96 from EpitechPromo2027/jabolol/improved-error-messages
62030e6 fix: overhaul error messages for descriptiveness
d239691 add: getLoc utility function
6227c14 Merge pull request #94 from EpitechPromo2027/91-ast-types-missing-struct-literal
a808295 add: AST types Struct literal
974a6ce Merge pull request #92 from EpitechPromo2027/jabolol/loop-void-fix
bbce678 fix: add back loop state
8fe3e4e fix: use more general approach
978d0c3 fix: for loops and while loops
81416e0 Merge pull request #90 from EpitechPromo2027/jabolol/unary-ops-impl
6e3865b add: unary operations, assignments and cleanup
4e31c23 Merge pull request #88 from EpitechPromo2027/87-implement-continue-and-break-codegen
431dc10 fix: keep previous state in loops
fe013e1 add: Implementation continue and break codegen
fcad94e Merge pull request #86 from EpitechPromo2027/82-implement-loops-codegen
ea01daa add: Implementation for and while codegen
1a43839 Merge pull request #84 from EpitechPromo2027/jabolol/cast-impl
95b8ddd fix: format document cases
de474d7 add: support for type cast expressions
4fe6b10 Merge pull request #80 from EpitechPromo2027/79-implement-arrays-codegen
9a824bf fix: Fixed-size arrays accessing
6c75304 [add] Type Parser base types, pointers and mutables
a121505 add: support for Arrays and AccessArray
1fae34e feat: support function calls
6e41827 add: fibonacci ast representation
fa0e933 fix: rewrite in a more idiomatic manner
2c0cfc6 feat: handle top level functions
81825fe chore: rename main function
a813915 fix: use ast version 2
5582702 add: example main program
f9957ea Merge pull request #76 from EpitechPromo2027/71-parse-operation
9288514 fix: or || operations bug
50987f8 Merge pull request #74 from EpitechPromo2027/69-parse-literal
4172d0b [mod] parseArray now uses M.between
8764b58 Merge pull request #75 from EpitechPromo2027/73-parse-unary-operation
dde2bf4 add: UnaryOperation
a9af850 [add] parse literals
810496d Merge pull request #72 from EpitechPromo2027/71-parse-operation
49310fb add: Operation
2688bab Merge pull request #66 from EpitechPromo2027/62-design-new-ast
278652f add: new AST
665d0ac add: CODEOWNER