Commit Graph

278 Commits

Author SHA1 Message Date
Aire-One 7f781dd9e7 chore: add more types fixes
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
ci/woodpecker/pr/test Pipeline failed Details
ci/woodpecker/pr/build-and-run Pipeline failed Details
2023-12-20 18:25:08 +01:00
Aire-One 1595e9b834 chore: add more types fixes
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
ci/woodpecker/pr/test Pipeline failed Details
ci/woodpecker/pr/build-and-run Pipeline failed Details
2023-12-02 01:16:29 +01:00
Aire-One 9e5820db7f feat: Node.return_types should be a { { string } }
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
ci/woodpecker/pr/build-and-run Pipeline failed Details
ci/woodpecker/pr/test Pipeline failed Details
`{ { string } }` means we now have an array of strings lists AKA 2
levels array to define unions of positional types for the return types.

Basically, we can now define a function that returns something like
`A | B, C | D`
2023-12-02 01:16:01 +01:00
Aire-One d29d2eab24 feat(scraper): ignore subfields in function parameters
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
ci/woodpecker/pr/test Pipeline failed Details
ci/woodpecker/pr/build-and-run Pipeline failed Details
2023-11-17 23:42:39 +01:00
Aire-One 192be3b13f fixup! fixup! feat(visitor): add `node_fixer`
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
ci/woodpecker/pr/test Pipeline failed Details
ci/woodpecker/pr/build-and-run Pipeline failed Details
2023-11-17 23:18:11 +01:00
Aire-One fd3ba675e7 chore: enable more modules and fix types
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
ci/woodpecker/pr/build-and-run Pipeline failed Details
ci/woodpecker/pr/test Pipeline failed Details
2023-11-12 20:08:51 +01:00
Aire-One 2126752e87 chore: add more types and fixer
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
ci/woodpecker/pr/build-and-run Pipeline failed Details
ci/woodpecker/pr/test Pipeline failed Details
2023-11-12 18:41:57 +01:00
Aire-One 728fffc9e8 fixup! feat(visitor): add `node_fixer`
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
ci/woodpecker/pr/build-and-run Pipeline failed Details
ci/woodpecker/pr/test Pipeline failed Details
2023-11-12 17:57:33 +01:00
Aire-One 59b173f774 feat(visitor): add `node_fixer`
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/build-and-run unknown status Details
ci/woodpecker/pr/lint unknown status Details
ci/woodpecker/pr/test unknown status Details
2023-11-12 17:48:28 +01:00
Aire-One e7b938a074 fix: prevent `Surface` vs `gears.surface` clashes
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
ci/woodpecker/pr/test Pipeline failed Details
ci/woodpecker/pr/build-and-run Pipeline failed Details
2023-10-08 17:51:34 +02:00
Aire-One 9e65a4cc9b feat: map more types 2023-10-08 17:41:59 +02:00
Aire-One 93dd7e2e7b fix: map types for `Layout`
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
ci/woodpecker/pr/test Pipeline failed Details
ci/woodpecker/pr/build-and-run Pipeline failed Details
2023-10-08 17:35:09 +02:00
Aire-One 544e3b5c71 feat: implement `"type"` Node type
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
ci/woodpecker/pr/test Pipeline failed Details
ci/woodpecker/pr/build-and-run Pipeline failed Details
2023-10-08 17:34:16 +02:00
Aire-One 989adaa62c feat: initial support to generate global_env_def 2023-10-08 17:01:34 +02:00
Aire-One 086ab2a474 feat(visitors): add capi_class dependencies
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
ci/woodpecker/pr/test Pipeline was successful Details
ci/woodpecker/pr/build-and-run Pipeline failed Details
2023-10-08 16:48:46 +02:00
Aire-One a2d172d31d fix(visitors): prevent circular dependencies
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
ci/woodpecker/pr/test Pipeline was successful Details
ci/woodpecker/pr/build-and-run Pipeline failed Details
2023-10-07 00:25:16 +02:00
Aire-One ebd33b0a19 chore(ci): add an `awesomerc.tl` validation
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
ci/woodpecker/pr/test Pipeline was successful Details
ci/woodpecker/pr/build-and-run Pipeline failed Details
2023-09-18 20:04:14 +02:00
Aire-One 9038d6f872 Merge pull request '[Refactor] Development rockspec, Project structure and Entry point' (#84) from feat/#65 into master
ci/woodpecker/push/docker-build Pipeline was successful Details
ci/woodpecker/push/docker-build/3 Pipeline was successful Details
ci/woodpecker/push/docker-build/2 Pipeline was successful Details
ci/woodpecker/push/docker-build/1 Pipeline was successful Details
ci/woodpecker/push/docker-build/4 Pipeline was successful Details
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/test Pipeline was successful Details
Reviewed-on: #84
2023-09-18 15:20:38 +02:00
Aire-One 94f233325d chore: update README
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/test Pipeline was successful Details
2023-09-18 15:02:09 +02:00
Aire-One 0e44793bd9 chore: move bin inside src 2023-09-18 14:48:32 +02:00
Aire-One 9a75c18f4e chore(just): define local build and test targets 2023-09-18 14:48:32 +02:00
Aire-One cac7b0a00a ci: fix test and build dependencies install 2023-09-18 14:48:32 +02:00
Aire-One 6f6c4eca0d ci(test): install dependencies only once 2023-09-18 14:48:32 +02:00
Aire-One a036df9c5f chore: configure tests in luarocks 2023-09-18 14:48:32 +02:00
Aire-One 1ac471da89 chore: remove special characters from module name 2023-09-18 14:48:32 +02:00
Aire-One 00fa4ba32e chore(just): rockspec lint
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/test Pipeline was successful Details
2023-09-18 11:44:19 +02:00
Aire-One 64fbdf908f chore: fix justfile rockspec_file
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline failed Details
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/test Pipeline was successful Details
2023-09-10 20:06:11 +02:00
Aire-One c67c9362da ci(lint): rockspec
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/test Pipeline failed Details
ci/woodpecker/pr/lint Pipeline failed Details
ci/woodpecker/pr/build Pipeline was successful Details
2023-09-10 19:55:03 +02:00
Aire-One ac1ba61cb2 chore: fix CI `test` pipeline
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/test Pipeline failed Details
ci/woodpecker/pr/lint Pipeline was successful Details
ci/woodpecker/pr/build Pipeline was successful Details
2023-09-10 19:44:18 +02:00
Aire-One 39d3d09cb9 chore: fix busted config 2023-09-04 00:29:18 +02:00
Aire-One 8d7ba519c4 chore: fix specs 2023-09-04 00:29:04 +02:00
Aire-One 6ee57456b9 chore(ci): disable woodpecker lint
The woodpecker-cli version used has moved, and the current woodpecker
server installed is too old to have configuration that passes the newer
lint rules.

We'll need to first update the woodpecker server, then port the config,
and finally enable back this lint step.
2023-09-04 00:28:50 +02:00
Aire-One 85702797fe chore: ci fixes 2023-09-04 00:28:35 +02:00
Aire-One 8e144e06f5 chore: rockspec, structure and entry point
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/test Pipeline failed Details
ci/woodpecker/pr/build Pipeline failed Details
ci/woodpecker/pr/lint Pipeline failed Details
2023-09-03 18:38:11 +02:00
Aire-One 4dd8d433f4 Merge pull request 'Move to an AST like data structure' (#76) from feat/refactor-ast into master
ci/woodpecker/push/docker-build Pipeline was successful Details
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/test Pipeline was successful Details
Reviewed-on: #76
2023-08-03 21:03:11 +02:00
Aire-One 73f6074ef2 fix(visitor/type_mapping): update mapping
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/test Pipeline was successful Details
2023-08-01 23:40:49 +02:00
Aire-One 2506ce9d58 run: let's make the main entry point do something 2023-08-01 23:40:49 +02:00
Aire-One dbeb536393 feat(printer): teal_type_definition should use the `require type` notation 2023-08-01 23:40:49 +02:00
Aire-One f44a028683 fix(scraper): rename constructor methods to `new` 2023-08-01 23:40:49 +02:00
Aire-One 284b49898c fix(visitor): module_dependencies shouldn't self require 2023-08-01 23:40:49 +02:00
Aire-One 6441a6a50b fix(visitor): module_dependencies renames dependency usages 2023-08-01 23:40:49 +02:00
Aire-One 4f24725351 spec(teal_type_definition): test module dependencies 2023-08-01 23:40:49 +02:00
Aire-One 8d54ab4746 fix(spec): ASTs need to have `dependencies` 2023-08-01 23:40:49 +02:00
Aire-One bea2f0fc54 spec(module_doc): fix and refactor
Fix the tests by adding the new keys from `"module"` tokens.

We now use a `test` function to make the `it` easier to write/read.
2023-08-01 23:40:49 +02:00
Aire-One 4d81aaef56 feat(printer): render `require` statements 2023-08-01 23:40:49 +02:00
Aire-One e076a08572 feat(Visitors): implement module_dependencies 2023-08-01 23:40:49 +02:00
Aire-One 37742f795d feat(Visitors): implement type_mapping 2023-08-01 23:39:27 +02:00
Aire-One 02d82f6518 chore: update the `Debug spec` command 2023-08-01 23:38:06 +02:00
Aire-One 8928e67f24 feat(printer): indent generated code 2023-08-01 23:38:06 +02:00
Aire-One c2e0da3ba6 fix(module_doc): named parameter table detection 2023-08-01 23:38:06 +02:00