octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New very simple methodology to create a m-file compiler.


From: GoSim
Subject: Re: New very simple methodology to create a m-file compiler.
Date: Tue, 7 May 2019 11:03:05 -0500 (CDT)

Ian McCallion wrote
> 
> As has been shown already during this discussion compiling m-code is hard
> and there are necessary restrictions. A way around this would be to enable
> the user to give hints to the compiler. These hints could be by way of
> language extensions, but this would prevent the m-code working on Octave
> releases or environments not supporting compilation, so a better way might
> be by specialised comments. To illustrate this the comment:
> 
>    ###V integer count_things
> 
> could be used to assert that a particular variable is of a particular
> datatype.
> 
> Cheers... Ian

This is a nice and simple solution.




--
Sent from: http://octave.1599824.n4.nabble.com/Octave-Maintainers-f1638794.html



reply via email to

[Prev in Thread] Current Thread [Next in Thread]