Commit Graph

243 Commits

Author SHA1 Message Date
Aire-One 588296abcd fix(visitor): module_dependencies renames dependency usages
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-07-31 19:02:05 +02:00
Aire-One 160a092896 spec(teal_type_definition): test module dependencies
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-07-28 01:10:41 +02:00
Aire-One eec274af44 fix(spec): ASTs need to have `dependencies`
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-07-18 20:59:11 +02:00
Aire-One 6c34facd41 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-07-18 20:59:11 +02:00
Aire-One 8a83146f41 feat(printer): render `require` statements 2023-07-18 20:59:11 +02:00
Aire-One 03d6cf1ce0 feat(Visitors): implement module_dependencies 2023-07-18 20:59:11 +02:00
Aire-One bb75f9d38b feat(Visitors): implement type_mapping 2023-07-18 20:58:59 +02:00
Aire-One a26dce4e08 chore: update the `Debug spec` command
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-05-14 13:04:45 +02:00
Aire-One 0920e49335 fixup! fixup! chore(just): add pattern parameter to test command
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
ci/woodpecker/pr/test Pipeline was successful Details
2023-05-14 13:00:27 +02:00
Aire-One c0ed77aff5 feat(printer): indent generated code
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-05-13 14:33:10 +02:00
Aire-One 51e5d4617f fix(module_doc): named parameter table detection
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-05-13 03:42:27 +02:00
Aire-One eee6a47fbe spec(teal_type_definition): test Record node
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-05-13 00:29:47 +02:00
Aire-One 7b08f10150 spec(teal_type_definition): test Function node
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-05-13 00:24:58 +02:00
Aire-One 5ae73bbbc6 spec(teal_type_definition): test Variable node
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-05-13 00:19:49 +02:00
Aire-One 136560aad6 fixup! chore(just): add pattern parameter to test command
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-05-12 23:58:04 +02:00
Aire-One 76b9d5032e spec(teal_type_definition): test Enum node
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 failed Details
2023-05-09 00:40:53 +02:00
Aire-One 4eeb8894d2 chore(just): add pattern parameter to test command
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 failed Details
2023-05-09 00:29:06 +02:00
Aire-One 106a456dd0 spec(teal_type_definition): add basic test
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 failed Details
2023-05-09 00:27:29 +02:00
Aire-One 9fdbbe2096 fixup! chore(spec): defined expected with type safety
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-05-08 23:50:19 +02:00
Aire-One f324e9e303 chore(spec): defined expected with type safety
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-05-08 23:48:08 +02:00
Aire-One 6d647cd9bc fixup! chore: rename Generator -> Printer
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-05-08 23:37:36 +02:00
Aire-One 09716bb597 fixup! chore: rename Generator -> Printer
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-05-08 23:27:05 +02:00
Aire-One 56aa489558 chore: rename Generator -> Printer
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-05-08 23:24:59 +02:00
Aire-One 3bf9ac4ebd chore: configure coverage 2023-05-08 23:12:49 +02:00
Aire-One efb54bf92b spec(module_doc): add "Object methods" tests
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-05-08 14:25:50 +02:00
Aire-One 5e6ceb7e04 spec(module_doc): add "Static module functions" tests
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-05-05 00:41:02 +02:00
Aire-One 9165e98db3 chore: configure lua-local debugger for Teal 🧙
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-05-05 00:04:25 +02:00
Aire-One 129f15ea9d spec(module_doc): add "Object properties" tests 2023-05-04 01:01:09 +02:00
Aire-One 65320173e5 spec(module_doc): add "Signals" test 2023-05-04 00:58:35 +02:00
Aire-One 5d45637954 spec(module_doc): add basic test
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-05-04 00:45:39 +02:00
Aire-One 592e62d6fa feat(generator): base implem for `generate_teal`
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-05-01 16:46:07 +02:00
Aire-One 896c7f2f04 feat(scraper): function can populate `other_nodes`
To allow `extract_section_functions`  to populate `other_node`, we need
to use the `module_name` and migrate the function name scrap method to
use the actually displayed text instead of playing with the node `name`
attribute.

Because of this change, we also need to update
`extract_section_variables`. Not a big deal. BTW, we resolved an issue
where `string` variable can wrongly be detected as `enum`.
2023-05-01 16:46:07 +02:00
Aire-One 9156736682 feat(scraper): implement all `section_scrapers` 2023-05-01 16:46:07 +02:00
Aire-One f142f0e750 fix(types): Dag requires path 2023-05-01 16:46:07 +02:00
Aire-One 3d2d009542 chore: add cSpell wording 2023-05-01 16:46:07 +02:00
Aire-One eaf31b2f16 feat(scraper): move "Signals" to AST 2023-05-01 16:46:07 +02:00
Aire-One 09181259e1 run: some play with the entrypoint 2023-05-01 16:46:07 +02:00
Aire-One ab28bf8717 feat(scraper): move "Object properties" to AST 2023-05-01 16:46:07 +02:00
Aire-One b12721e1fd feat(types): introduce new data structures 2023-05-01 16:46:07 +02:00
Aire-One 0339f0eb53 Merge pull request 'Activate the `lint-pipeline` step (#22)' (#82) from feat/#22 into master
ci/woodpecker/push/docker-build Pipeline was successful Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/test Pipeline was successful Details
Reviewed-on: #82
2023-05-01 16:41:31 +02:00
Aire-One e43ca1d3fc Merge pull request 'chore: format dockerfile' (#81) from fix/tests-teal into master
Reviewed-on: #81
2023-05-01 16:36:41 +02:00
Aire-One 651962d78c ci(lint): activate the `lint-pipeline` step
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 Pipeline was successful Details
2023-05-01 16:35:22 +02:00
Aire-One a567eb6cdd test(config): fix busted config to run teal code 2023-05-01 16:28:37 +02:00
Aire-One bd29c81658 chore: format dockerfile
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-05-01 16:26:42 +02:00
Aire-One 317ce5c7b0 Merge pull request 'Fix CI' (#80) from fix/ci-test-3 into master
ci/woodpecker/push/docker-build Pipeline was successful Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/test Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
Reviewed-on: #80
2023-04-24 02:30:46 +02:00
Aire-One fbc755a9c5 ci: fix
ci/woodpecker/pr/docker-build Pipeline failed Details
ci/woodpecker/pr/build unknown status Details
ci/woodpecker/pr/lint unknown status Details
ci/woodpecker/pr/test unknown status Details
2023-04-24 02:30:00 +02:00
Aire-One 895d9d3eeb Merge pull request 'Fix CI' (#79) from fix/ci-test-2 into master
ci/woodpecker/push/docker-build Pipeline was successful Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/test Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
Reviewed-on: #79
2023-04-24 02:11:02 +02:00
Aire-One e9afbfe21d ci: fix busted-tl_just
ci/woodpecker/pr/docker-build Pipeline failed Details
ci/woodpecker/pr/build unknown status Details
ci/woodpecker/pr/lint unknown status Details
ci/woodpecker/pr/test unknown status Details
2023-04-24 02:10:10 +02:00
Aire-One 9d36197a03 Merge pull request 'Fix CI' (#78) from fix/ci-test into master
ci/woodpecker/push/docker-build Pipeline was successful Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/test Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
Reviewed-on: #78
2023-04-24 01:56:03 +02:00
Aire-One 2af243736f ci(test): add install package to Dockerfile
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
ci/woodpecker/pr/test Pipeline failed Details
2023-04-24 01:41:52 +02:00