Skip to main content

cnvx_parse/
ampl.rs

1use cnvx_core::Model;
2
3use super::LanguageParser;
4
5#[derive(Default)]
6pub struct AMPLLanguage;
7
8impl AMPLLanguage {
9    pub fn new() -> Self {
10        Self {}
11    }
12}
13
14impl LanguageParser for AMPLLanguage {
15    fn parse(&self, _src: &str) -> Result<Model, String> {
16        todo!("AMPL parser not implemented yet")
17    }
18}