Giter Site home page Giter Site logo

Comments (7)

Crtrpt avatar Crtrpt commented on May 23, 2024 2

thank you for your help

from goby.

st0012 avatar st0012 commented on May 23, 2024 1

hmm, I never thought about this before 🤔
do you mean, for example, having something like config.gb in a Go application that uses Goby-defined dsl for easier configuration?

from goby.

st0012 avatar st0012 commented on May 23, 2024 1

that's really an interesting idea, thanks for sharing!

I believe you can do that under the current implementation, but I can't guarantee it'd be easy though as I didn't have this usage in mind when building it 😂 let me know if you find any issue or have any suggestion when trying Goby

btw, I just recalled that I did use pure Goby to build a dsl-based test framework (inspired by a popular Ruby testing framework called rspec) and load it like this. maybe you can do it in a similar fashion?

from goby.

st0012 avatar st0012 commented on May 23, 2024

Every component of Goby like parser, code generator and the VM is a go package, so you can import and use them in your application like the goby.go does (not exactly the same though, but you should get the idea).

However, I personally don't think there's any practical reason to use Goby in a Go application, as it'll become an unnecessary abstraction layer for the application. Would you mind share the motivation behind this idea, I'm curious about it 😄

from goby.

Crtrpt avatar Crtrpt commented on May 23, 2024

Like a groovy ,Make a pipline DSL

from goby.

Crtrpt avatar Crtrpt commented on May 23, 2024

yes

from goby.

st0012 avatar st0012 commented on May 23, 2024

np, happy to learn the new idea from you. thank you too 😄

from goby.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.