r2d4 / virgo

Graph-based Declarative Configuration Language
MIT License
134 stars 7 forks source link

Add support for escaping the backquote in vertex statements #5

Open CrazyPython opened 3 years ago

CrazyPython commented 3 years ago

This should be permitted:

a -> b
a = `\``
r2d4 commented 3 years ago

Agreed. Maybe we should adopt the Go syntax with "" for interpreted strings and `` for raw string literals

CrazyPython commented 3 years ago

"" would be great.

Also, can you point me to where you implement Topological Sort in your Go implementation? I'm almost done with my JS implementation, it just needs TopoSort.

r2d4 commented 3 years ago

https://github.com/r2d4/virgo/blob/default/pkg/virgo/topsort.go