3 ms·
I use Visual studio code, I couldn't find it in Extensions. I'm just asking out of curiosity, What do you develop with Arc usually? I like how the "html" and "
by fatih-erikli 5y ago
I use Visual studio code, I couldn't find it in Extensions. I'm just asking out of curiosity, What do you develop with Arc usually?
I like how the "html" and "css" part was embedded in that "news.arc" file. Do you think that VIM script will highlight and lint the "css" part of an "arc" file?
- sillysaurusx 5y ago> What do you develop with Arc usually? I try to use Arc for as much as possible. We wrote our TPU monitoring software in it: http://tensorfork.com/tpus http://tensorfork.com/tpus Eventually I became frustrated with Racket's FFI. So I eventually made my own arclike language called elflang: https://github.com/elflang/elf https://github.com/elflang/elf ... which itself is a fork of Lumen (https://github.com/sctb/lumen https://github.com/sctb/lumen) by Scott Bell. The performance is good enough to run a minecraft-style game engine: https://i.imgur.com/iyr0YrB.png https://i.imgur.com/iyr0YrB.png which was satisfying. Nowadays I've been trying to implement Bel, mostly for the challenge of it than for any practical reason. > I like how the "html" and "css" part was embedded in that "news.arc" file. Do you think that VIM script will highlight and lint the "css" part of an "arc" file? Nope. https://i.imgur.com/o9aUG6j.png https://i.imgur.com/o9aUG6j.png But it has one very important feature: it can properly highlight atstrings: https://i.imgur.com/wO4f742.png https://i.imgur.com/wO4f742.png It's probably hard to tell, but the "@(hexrep border-color*)" would normally be highlighted as if it were a string. Arc has a feature called atstrings, where you can use @foo to reference the enclosing variable "foo". It can also call functions, e.g. "The value of 1 plus 2 is @(+ 1 2)" will become "The value of 1 plus 2 is 3".