当前位置:网站首页>Build your own DSL with go and HCl
Build your own DSL with go and HCl
2022-06-24 01:42:00 【Solution jdon】
DSL For domain specific languages .
Kubernetes、Docker compose、Jenkins CI、Gitlab CI or Ansible The main goal of such tools is to customize their behavior through configuration . They are like a black box , According to input (YAML/JSON The descriptor ) Will produce different outputs .
HCL representative HashiCorp Configuration language , It is better than JSON or YAML More powerful , Because it provides a mechanism . Implement dynamic configuration file , We'll see later .HCL Some of its advantages are listed below :
- Even for non-technical people , It's also easy to read ( And writing ).
- As we will do , Implement customization DSL Not rocket science , Because parsing 、 Validation and a lot of things are out of the box .
- A bunch of existing functions have been provided .
- image HashiCorp Such a well-known company participated in the project ,Terraform、Nomad and Vault And other great products have been used HCL. It means Ops The community is used to this grammar .
On the other hand , Based on HCL The custom of DSL, You will need to know Go.
Click on the original text in detail
边栏推荐
- Digital case show ‖ made in China for the first time! Tencent cloud tdsql landed in Zhangjiagang bank and worked together to build financial business
- How to develop the industrial Internet platform?
- AES encryption analysis of CNKI academic translation
- Mobile direct payment, super convenient
- Summary of various situations in which easycvr cannot use voice intercom function
- 5-step method to quickly find data analysis ideas
- How do users of Fortress computers add servers? How much does it cost to add servers for fortress users?
- 什麼是養老理財?養老理財產品有哪些?
- How to use the speech synthesis tool? Does the speech synthesis tool cost money?
- Oracle sqlldr quick import and sqluldr2 quick export
猜你喜欢
![[SQL injection 12] user agent injection foundation and Practice (based on burpsuite tool and sqli labs LESS18 target machine platform)](/img/c8/f6c2a62b8ab8fa88bd2b3d8f35f592.jpg)
[SQL injection 12] user agent injection foundation and Practice (based on burpsuite tool and sqli labs LESS18 target machine platform)
![[flutter] comment utiliser les paquets et plug - ins flutter](/img/a6/e494dcdb2d3830b6d6c24d0ee05af2.png)
[flutter] comment utiliser les paquets et plug - ins flutter

It's too difficult for me. Ali has had 7 rounds of interviews (5 years of experience and won the offer of P7 post)

【Flutter】如何使用Flutter包和插件

I, a 27 year old female programmer, feel that life is meaningless, not counting the accumulation fund deposit of 430000
![[SQL injection 13] referer injection foundation and Practice (based on burpseuite tool and sqli labs less19 target platform)](/img/b5/a8c4bbaf868dd20b7dc9449d2a4378.jpg)
[SQL injection 13] referer injection foundation and Practice (based on burpseuite tool and sqli labs less19 target platform)
随机推荐
How to build a practical website and how to operate after the website goes online
How to make a ECS into a fortress machine how long does it take to build a fortress machine
SAP mm Migo 411k error - correct the customizing settings for the unique
Mobile direct payment, super convenient
Netease Shufan: Data productivity platform 2.0 promotes "everyone uses data and always uses data"
What is function point analysis - FPA
Typescript is a weak type
Baysor: cell segmentation in imaging based spatial transcriptomics
How to write the domain name of trademark registration? What is the process of trademark and domain name registration?
什麼是養老理財?養老理財產品有哪些?
Dart series: metaworld pubspec Yaml file details
Go language core 36 lectures (go language practice and application VII) -- learning notes
Software cost evaluation: basic knowledge interpretation of cosmoc method
[technology for grass planting] lightweight 248 helps individual developers go to the cloud
How to build high quality and high brand websites what should be paid attention to in the construction of enterprise websites
[combat power upgrade] Tencent cloud's first arm architecture instance was launched! Experience the new architecture computing power!
Location and troubleshooting of memory leakage: analysis of heap profiling principle
Istio practice manual | meeting the new generation of microservice architecture
What does fortress server mean? What are the benefits of Fortress server installation
What is the cost of domain name trademark registration? What is the use of domain names and trademarks?