Commit Graph

230 Commits

Author SHA1 Message Date
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
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
Aire-One e2d1e549a9 Merge pull request 'Implement testing with busted' (#24) from feat/busted into master
ci/woodpecker/push/docker-build Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/test Pipeline failed Details
Reviewed-on: #24
2023-04-24 01:19:58 +02:00
Aire-One 10200a2582 ci(test): add initial workflow for test
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:05:01 +02:00
Aire-One 6220faa65f chore: update README
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
2023-04-24 00:14:49 +02:00
Aire-One e76188f87f test: move to `busted-tl`
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
2023-04-24 00:14:32 +02:00
Aire-One 5ca672d0ed test: play with local modules
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
2023-04-17 00:38:17 +02:00
Aire-One 0d6c25faf2 chore: clean rockspec
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
We are not using the `luarocks test` command for now. Instead, we run
Busted directly from the cli tool.
2023-04-17 00:37:22 +02:00
Aire-One e7353199ca chore: clean ignored files
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
2023-04-17 00:09:41 +02:00
Aire-One 94ea49cb3a test: move tests to compiled file 2023-04-17 00:09:41 +02:00
Aire-One 93a61cc8a8 build(types): luassert 2023-04-17 00:08:35 +02:00
Aire-One 1a8844db43 build(types): busted 2023-04-17 00:08:35 +02:00
Aire-One 7151e3a7cb wip: try some stuff 2023-04-17 00:08:35 +02:00
Aire-One 5cd9a539a5 Merge pull request 'Fix new compiler error from Teal 0.15.0 upgrade' (#75) from feat/fixes-teal-0.15.0 into master
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/docker-build Pipeline was successful Details
ci/woodpecker/push/lint Pipeline was successful Details
Reviewed-on: #75
2023-02-04 00:23:02 +01:00
Aire-One 0aaa8e3d8a fix(entity): shouldn't redefine signature
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
2023-02-04 00:15:09 +01:00