octave-maintainers
[Top][All Lists]
Advanced

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

Re: GSOC 2017 Idea Using Python within Octave


From: KOUSTAV DAS
Subject: Re: GSOC 2017 Idea Using Python within Octave
Date: Sun, 12 Mar 2017 14:29:48 +0530

Hi everyone

Okay you see I have an idea of implementing this. Lets not do this using libraries. 

So what is the technique that I propose:

We all know that in a .php file we can write html and php code. They are just differentiated on the basis of tags. I propose to do just the same thing for python and octave. Let us integrate the compilers of python and Octave. As soon as the lexical analyzer notices the opening tag of the octave code the parser and the semantic analyzer of octave handles the section. And as soon as the lexical analyzer encounters the opening tag of the python the parser and semantic analyzer of python is called.

I guess you guess are understanding what I exactly propose to do. I can do this job but then I will need the codebase of python and octave parsers to understand and execute this task. 

Please drop in some suggestions.  



Sent with Mailtrack

On Sun, Mar 12, 2017 at 1:02 PM, Abhinav Tripathi <address@hidden> wrote:


On Mar 12, 2017 3:21 AM, "KOUSTAV DAS" <address@hidden> wrote:
>
> Hello Everyone
>
> I am Koustav Das a Computer Science Student at Indian Institute of Technology, Ropar. During my last two years I have worked on both Octave and Python. 
> I am looking forward to take part in GSOC 2017 and I'm interested to work on the idea - Using Python in Octave.
> But I have got some doubts regarding this Pytave project. I guess the Pytave allows us to use Octave functions within Python. 
> So what is the main aim of the project ?
> Is it to have some library so that we can use Python within Octave.
> Or 
> Is it to integrate Pytave seamlessly so that we can use Octave within Python better.
>
> Thanks
> Yours Faithfully 
> KOUSTAV DAS
>
>  
>
>
>
>
>
>
>   Sent with Mailtrack

Hi,
Pytave was originally meant to do both. But now the development is only focussed on using python from octave.
The project is focused on improving the library to allow better communication between python and octave.
Currently it has boost.python dependency which is also to be removed by python c api calls..
.
Regards,
Abhinav



reply via email to

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