Commit Graph

245 Commits

Author SHA1 Message Date
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
Aire-One b58384e65b spec(teal_type_definition): test Record node 2023-08-01 23:38:06 +02:00
Aire-One 8737c9dd28 spec(teal_type_definition): test Function node 2023-08-01 23:38:06 +02:00
Aire-One a1b6a383bb spec(teal_type_definition): test Variable node 2023-08-01 23:38:06 +02:00
Aire-One 6410cf6a75 spec(teal_type_definition): test Enum node 2023-08-01 23:38:06 +02:00
Aire-One eca034828c chore(just): add pattern parameter to test command 2023-08-01 23:38:06 +02:00
Aire-One 1ccb6d0ce9 spec(teal_type_definition): add basic test 2023-08-01 23:38:06 +02:00
Aire-One 008985d5ea chore(spec): defined expected with type safety 2023-08-01 23:38:06 +02:00
Aire-One ba51f09e47 chore: rename Generator -> Printer 2023-08-01 23:38:06 +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