Cache Download > Self embedded language interpreter foobar2000-like
> draft This article explains how Cache Download self-made-language interpreter works
![](https://mermaid-js.github.io/mermaid-live-editor/
/edit/eyJjb2RlIjoic3RhdGVEaWFncmFtLXYyXG5cblsqXSAtLT4gRVMgOiBBUF9FbXB0eVxuXG5FUyAtLT4gRVMgOiBEb3RDb21tYVxuRVMgLS0-IEUgOiBFbXB0eVxuXG5FIC0tPiBTIDogUXVvdGVcbkUgLS0-IE4gOiBOdW1iZXJcbkUgLS0-IE1DIDogUG9yY2VudFxuRSAtLT4gRiA6IERvbGxhclxuRSAtLT4gUyA6IFN0cmluZ1xuXG5TIC0tPiBTIDogU3RyaW5nXG5TIC0tPiBbKl0gOiBRdW90ZVxuXG5OIC0tPiBOIDogTnVtYmVyXG5OIC0tPiBbKl0gOiBFbXB0eVxuXG5NQyAtLT4gTSA6IFN0cmluZ1xuTUMgLS0-IFsqXSA6IFBvcmNlbnRcblxuTSAtLT4gTSA6IFN0cmluZ1xuTSAtLT4gWypdIDogRW1wdHlcblxuRiAtLT4gRSA6IE9wZW5QYXJcbkYgLS0-IEUgOiBDb21tYVxuRiAtLT4gTSA6IFN0cmluZ1xuRiAtLT4gWypdIDogQ2xvc2VQYXJcblxuIiwibWVybWFpZCI6eyJ0aGVtZSI6ImRlZmF1bHQifSwidXBkYXRlRWRpdG9yIjpmYWxzZX0)
stateDiagram-v2
- ] --> ES : AP_Empty
ES --> ES : DotComma
ES --> E : Empty
E --> S : Quote
E --> N : Number
E --> MC : Porcent
E --> F : Dollar
E --> S : String
S --> S : String
- ] : Quote
N --> N : Number
- ] : Empty
MC --> M : String
- ] : Porcent
M --> M : String
- ] : Empty
F --> E : OpenPar
F --> E : Comma
F --> M : String
- ] : ClosePar