Commit Graph

25 Commits

Author SHA256 Message Date
Ana Guerrero
d1d48add50 Accepting request 1187954 from devel:tools:compiler
OBS-URL: https://build.opensuse.org/request/show/1187954
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/harec?expand=0&rev=8
2024-07-17 13:14:37 +00:00
Soc Virnyl Estela
df45642d06 - Update to version 0.24.2:
* check: Handle error expressions in offset()
  * Clean up includes
  * expr_hash: Handle STORAGE_ERROR case
  * check: Handle error in bindings of for-accumulator
  * expr_hash: Remove unnecessary alias check
  * Disallow casting types of undefined size
  * typedef: Emit struct literals
  * Remove unused gen_context.store
  * eval: Disallow auto-dereferencing
  * typedef: Handle values of enums with rune storage
  * eval: Implement slicing expressions
  * parse: simplify nested switch
  * parse: Remove unnecessary special-case from parse_if_expression
  * drop some "descriptive" names in generated IL
  * makefiles/tests.mk: make everything depend on harec
  * check: drop check of for_expr binding result type
  * gen_expr_delete: split single element/subslice cases
  * remove a use of *void in tests
  * simplify condition in identifier_eq
  * gen: implement gen_slice_ptrs and load_slice_data helpers
  * check: rewrite slice_bounds_check
  * eval: fix and add tests for casts from tagged unions
  * check: lower len(array) to a constant
  * gen: remove another overly verbose temporary name
  * remove useless line
  * check_expr_compound: simplify lower_implicit_cast logic
  * type_store: fix tuple size calculation
  * eval: use restrict keyword
  * type_store: simplify function signatures in struct initialization
  * test some embedded struct error cases
  * use arch specific sizes from ctx->arch consistently
  * gen: rewrite slice bounds checks
  * gen_expr_assign_slice: use gen_subslice_info
  * gen_expr_delete: use gen_subslice_info
  * test functions with bodies have named parameters
  * gen: rewrite expandable array -> slice assignment
  * gen: use store_slice_data instead of manual slice stores
  * type_store: return errors more explicitly in case of struct init errors
  * type_store: fix union size calculation
  * prohibit @packed in check, not in the parser
  * ast: split up slice and array atypes
  * ast: improve representation of array literal expandability
  * resolve: pass function location data into prototype check
  * util: simplify printing in errline()
  * eval: truncate bitwise not and integer unary negation results
  * check: improve binding assignability failure error
  * check: don't special case STORAGE_ERROR in check_function
  * check: drop pointless branch
  * gen: extract fixed_abort condition checks into a separate function
  * gen: rewrite slice and array alloc cases
  * check: rewrite check_expr_call
  * check: fix outdated comment about flexible promotion
  * tests: fix typo
  * Makefile: add uninstall target
  * check.c: fix up lingering issue from rename
  * Generate meaningful names for @init functions
  * Generate arbitrary names for @init functions
  * scripts/version: upgrade to 0.24.2
  * fix some spurious errors
  * Allow optional parameters in variadic functions.
  * check: fix error location in check_expr_append_insert
  * 12-loops: fix scope test
  * implement for-each
  * rt::compile ensure tests fail when "invalid" Hare is valid
  * gen: fix implicitly void if false branch
  * parse: fix memory leak
  * eval: fix signed integer comparisons
  * check: remove TODO
  * Remove unnecessary forward declaration
  * lex: make comment more accurate
  * gen: s/strconst/strliteral/g
  * Makefile: recompile everything when a header changes
  * makefiles/tests.mk: make all tests depend on .cache/rt.td
  * typedef: fix some format specifiers
  * set TDENV when running tests
  * tests: rename 00-constants to 00-literals
  * util: ignore write errors to stderr
  * Check stage at which compilation failed in reject tests
  * tests/00-literals: s/append/static append/
  * gen: fix for-each iterator with tagged union type
  * typedef: use const in more places
  * types: remove extraneous check
  * types: make unbounded arrays not assignable to slices
  * gen: remove gen_defers from gen_expr_for
  * main: remove unnecessary 'next' variable
  * mod: use string initializer instead of memcpy
  * parse: remove dead branch
  * parse: use error function for empty block error
  * check: fix measurement error locations
  * check: simplify switch exhaustivity checking
  * tests.mk: add missing testmod.td dependency
  * typedef: Remove unnecessary includings of "typedef.h"
  * lex: allow digit separators
  * Check that enums are exported if used in exported types.
  * Implement optional function parameters.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/harec?expand=0&rev=24
2024-07-16 15:38:34 +00:00
Ana Guerrero
8de917c218 Accepting request 1147475 from devel:tools:compiler
- Update to release 0.24.0:
  * first pre-release of harec
  * requires qbe 1.2

OBS-URL: https://build.opensuse.org/request/show/1147475
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/harec?expand=0&rev=7
2024-02-20 20:12:58 +00:00
Soc Virnyl Estela
d218dc9a6c - Update to release 0.24.0:
* first pre-release of harec
  * requires qbe 1.2

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/harec?expand=0&rev=22
2024-02-17 00:59:29 +00:00
Ana Guerrero
20ada4dd04 Accepting request 1141934 from devel:tools:compiler
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1141934
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/harec?expand=0&rev=6
2024-01-28 18:42:34 +00:00
Soc Virnyl Estela
de034202a9 OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/harec?expand=0&rev=20 2024-01-20 09:14:57 +00:00
Soc Virnyl Estela
0c8503bff6 OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/harec?expand=0&rev=19 2024-01-20 09:12:10 +00:00
Soc Virnyl Estela
d0c4062446 - Update specfile
* Adopt new makefile to new configs

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/harec?expand=0&rev=18
2024-01-20 09:02:03 +00:00
Soc Virnyl Estela
1ab21d5afe OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/harec?expand=0&rev=17 2024-01-20 07:28:51 +00:00
Soc Virnyl Estela
126b5ad613 - Update to version 1704220143.770566a:
* gen: add column to dbgloc
  * Check for STORAGE_ERROR before lowering Hare vaargs
  * qtype: fix -Werror failures
  * add .builds/openbsd.yml
  * gen: move tagged value to first aligned offset
  * OpenBSD: fix tests
  * replace ./configure with config.mk
  * fix confusing wording in parse.c

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/harec?expand=0&rev=16
2024-01-20 07:24:23 +00:00
Dominique Leuenberger
6931a601b7 Accepting request 1135737 from devel:tools:compiler
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1135737
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/harec?expand=0&rev=5
2024-01-03 11:25:13 +00:00
Soc Virnyl Estela
de55610ae0 - Set version environment variable in specfile
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/harec?expand=0&rev=14
2023-12-23 08:13:17 +00:00
Ana Guerrero
c88de37950 Accepting request 1133561 from devel:tools:compiler
- Update to version 1702179030.9d51b36:
  * scope: split up scope_lookup_ancestor
  * Implement for labels
  * Implement switch/match labels
  * check: fix enum alias importing
  * tests/34-declarations: add invalid symbol tests
  * parse: disallow empty symbol
  * type_store: fix tagged union segfault
  * all: use literal/flexible in place of constant
  * main: check for fmemopen error
  * mod: remove unnecessary allocation
  * tests: fix broken rejection tests
  * type_store: make builtin_type_error have zero size/alignment

OBS-URL: https://build.opensuse.org/request/show/1133561
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/harec?expand=0&rev=4
2023-12-17 20:31:52 +00:00
Soc Virnyl Estela
6aa4112fc3 - Update to version 1702179030.9d51b36:
* scope: split up scope_lookup_ancestor
  * Implement for labels
  * Implement switch/match labels
  * check: fix enum alias importing
  * tests/34-declarations: add invalid symbol tests
  * parse: disallow empty symbol
  * type_store: fix tagged union segfault
  * all: use literal/flexible in place of constant
  * main: check for fmemopen error
  * mod: remove unnecessary allocation
  * tests: fix broken rejection tests
  * type_store: make builtin_type_error have zero size/alignment

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/harec?expand=0&rev=12
2023-12-16 01:03:37 +00:00
Ana Guerrero
2f606a15cf Accepting request 1133458 from devel:tools:compiler
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1133458
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/harec?expand=0&rev=3
2023-12-15 20:50:44 +00:00
Ana Guerrero
084fca15f7 Accepting request 1132121 from devel:tools:compiler
- Update to version 1701558776.08af325:
  * OpenBSD: Fix _start for arm64.
- Update to version 1701262234.ec3193e:
  * types: recover from circular dependency error
  * check,gen: use name instead of ident to create global_decl declarations
  * Revert "types: recover from circular dependency error"
  * types: recover from circular dependency error
  * type_store: pass around check context
  * type_store: detect duplicate fields in embedded structs/unions
  * check: improve error message
  * ast: make ast_enum_field name non-const
  * all: use const for more function params
  * scope: put type and value in a union
  * rt, tests: drop EXIT_FAILURE
  * check: resolve type when taking size/alignment
  * check: replace expression_measure with expression_len
  * check: allow taking alignment of zero-size type
  * parse: add error function
  * lex: use error func for unexpected codepoint error
  * check: remove unnecessary memset
  * parse: disallow casting to null
  * Move func_decl_flags from check.h to ast.h
  * parse: add missing va_ends
  * main: use xfprintf with harec -v
  * gen: use u32 instead of uint for tag
  * check: allow freeing null
  * qtype: fix memory leak
  * check: disallow append/inserting with undefined-size member
  * check: disallow unbounded array value in append/insert
  * parse: disallow ellipsis in append/insert length form
  * tests: make insert rejection tests consistent with append
  * tests: fix append/insert rejection tests
  * check: fix append/insert value dereferencing
  * parse, check: update imports
  * all: fix format specifiers
  * check: be more picky about default values of arrays
  * implement checkless for loops

OBS-URL: https://build.opensuse.org/request/show/1132121
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/harec?expand=0&rev=2
2023-12-08 21:33:43 +00:00
Soc Virnyl Estela
d4875680de - Add README-suse-maint.md
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/harec?expand=0&rev=9
2023-12-08 14:26:59 +00:00
Soc Virnyl Estela
b0c3b92715 - Update to version 1701558776.08af325:
* OpenBSD: Fix _start for arm64.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/harec?expand=0&rev=8
2023-12-08 13:20:05 +00:00
Soc Virnyl Estela
c25ca7bfdb OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/harec?expand=0&rev=7 2023-12-02 10:25:27 +00:00
Soc Virnyl Estela
ab04a2e5d9 - Update to version 1701262234.ec3193e:
* types: recover from circular dependency error
  * check,gen: use name instead of ident to create global_decl declarations
  * Revert "types: recover from circular dependency error"
  * types: recover from circular dependency error
  * type_store: pass around check context
  * type_store: detect duplicate fields in embedded structs/unions
  * check: improve error message
  * ast: make ast_enum_field name non-const
  * all: use const for more function params
  * scope: put type and value in a union
  * rt, tests: drop EXIT_FAILURE
  * check: resolve type when taking size/alignment
  * check: replace expression_measure with expression_len
  * check: allow taking alignment of zero-size type
  * parse: add error function
  * lex: use error func for unexpected codepoint error
  * check: remove unnecessary memset
  * parse: disallow casting to null
  * Move func_decl_flags from check.h to ast.h
  * parse: add missing va_ends
  * main: use xfprintf with harec -v
  * gen: use u32 instead of uint for tag
  * check: allow freeing null
  * qtype: fix memory leak
  * check: disallow append/inserting with undefined-size member
  * check: disallow unbounded array value in append/insert
  * parse: disallow ellipsis in append/insert length form
  * tests: make insert rejection tests consistent with append
  * tests: fix append/insert rejection tests

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/harec?expand=0&rev=6
2023-12-02 10:17:20 +00:00
Ana Guerrero
4f541f58e8 Accepting request 1125148 from devel:tools:compiler
I want to add harec to openSUSE:Factory. Building this project does not require autoconf tools.

OBS-URL: https://build.opensuse.org/request/show/1125148
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/harec?expand=0&rev=1
2023-11-13 21:18:03 +00:00
Soc Virnyl Estela
b9e5b5f81c - Improve specfile. Add some comments
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/harec?expand=0&rev=4
2023-11-11 07:35:18 +00:00
Soc Virnyl Estela
6578d29c49 OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/harec?expand=0&rev=3 2023-11-11 07:25:21 +00:00
Soc Virnyl Estela
1348633cea Update group section in specfile
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/harec?expand=0&rev=2
2023-11-10 12:24:58 +00:00
Martin Pluskal
b0fdafc127 Accepting request 1124791 from home:uncomfyhalomacro
I want to add harec to devel:tools:compiler

OBS-URL: https://build.opensuse.org/request/show/1124791
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/harec?expand=0&rev=1
2023-11-10 08:52:30 +00:00