Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Sorry if this has already come up, but Rockstar - https://codewithrockstar.com/ - is the closest to natural English I've seen.
"proof": here's a brainfuck interpreter in SQL. Brainfuck is Turing Complete, so if we can interpret it in SQL, so is SQL.
I think if you want to do it properly you'd have to use Grammatical Framework, which would also enable you to freely transform the code from English to Swahili as well as more ordinary syntax while preserving semantics 110%.
Here is some real Gherkin from the Factory Bot Rails gem source code on GitHub:
The language is read by Cucumber which is a software testing framework following Behavior-Driven Development, which attempts to optimize for clarity between non-technical stakeholders, software developers, and their implementations.
Here is an example from Factory Bot itself, which includes embedded Ruby (in this case):
Related posts
- Show HN: Factory-JS – TypeScript dummy object generator for testing
- If you use FactoryBot then the FactoryTrace gem might be interesting for you. It keeps your old code removed by finding unused factories & traits. There also was a recent release that made it compatible with all FactoryBot features.
- Do you use FactoryBot? Then FactoryTrace gem is right for you. It helps to find unused factories & traits automatically to keep your old code removed. There was a recent release that made it compatible with all FactoryBot features.
- Do you use FactoryBot? Then you should check out FactoryTrace. It finds unused factories & traits automatically for you to keep your old code removed. I just released 1.1.0, which has an important fix.
- Clean FactoryBot with FactoryTrace