ropensci-archive / pegax

:no_entry: ARCHIVED :no_entry: Taxonomy PEG (Parsing Expression Grammar)
Other
4 stars 0 forks source link

DSL #1

Open Ironholds opened 7 years ago

Ironholds commented 7 years ago

I'm not sure how possible the DSL would be since it's compile-time rather than runtime compiled. Unless your plan is to write it out to a cpp file in tmp?

sckott commented 7 years ago

hadn't thought about it, thanks for pointing it out.

If we write to tmp how could we then use that cpp in tmp

Ironholds commented 7 years ago

Write it to tmp, use Rcpp::sourceCpp to load the file into a namespace, boom!

sckott commented 7 years ago

awesome, thx