Update .gitignore
Fix legacy code
Use capnpc-lua tool to compile proto/example.proto
Remove unused code
Use fixed size segment to avoid segment fault and increase speed
Add test.sh
Fix code style
Fix compiler code style
Add setter for plain data fields
Rename init_root to write_struct
Add setter for handwrite_capnp.lua
Use the same way to init sub struct as T:init()
Use write_list function to init a list
Add setter for sub struct
Add setter for enum values
Add setter for text values
Ass setter for list values