Skip to content

hanxuanliang/goctl-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

goctl-rs

A simple Rust version of goctl

Support

  • type struct

  • many type struct

  • nest type struct

  • service block

  • API block

Structure

  1. token.rs - Tokenize the input string
  2. parser.rs - Parse API Syntax
  3. service.rs - Parse Service Block
  4. struct_ref.rs - Parse Struct Block

Questions

Problems encountered in development

  1. Why is parse_many_struct not used in parse_struct_stmt1, but parse_struct_to_vec is used instead?

Releases

No releases published

Packages

No packages published

Languages