29 Oct 1999 02:33:32 -0400

Related articles |
---|

Equation compiler? alan.garny@physiol.ox.ac.uk (Alan GARNY) (1999-10-27) |

Re: Equation compiler? Sid-Ahmed-Ali.TOUATI@inria.fr (Sid Ahmed Ali TOUATI) (1999-10-29) |

Re: Equation compiler? qjackson@wave.home.com (Quinn Tyler Jackson) (1999-10-29) |

Re: Equation compiler? zalman@netcom9.netcom.com (Zalman Stern) (1999-10-31) |

Re: Equation compiler? etechweb@yahoo.com (1999-11-02) |

Re: Equation compiler? nr@wally.eecs.harvard.edu (1999-11-03) |

Re: Equation compiler? niemannt@my-deja.com (1999-11-20) |

From: | Sid Ahmed Ali TOUATI <Sid-Ahmed-Ali.TOUATI@inria.fr> |

Newsgroups: | comp.compilers |

Date: | 29 Oct 1999 02:33:32 -0400 |

Organization: | INRIA |

References: | 99-10-113 |

Keywords: | C, practice, arithmetic |

Alan GARNY wrote:

*> Does anyone know how to create an equation compiler in C/C++? The idea*

*> is, for instance, to allow the user to enter an equation, such as y =*

*> 3x+2, and compile (in assembly language for faster computation?) it*

*> and use it to plot the corresponding graph.*

I think that Matlab could generate a C code of a matlab program. You

define your equations in a matlab representation, then you generate

the C-code and after you compile it. It could run faster.

regards

SAAT

Post a followup to this message

Return to the
comp.compilers page.

Search the
comp.compilers archives again.