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: Abhinav Tripathi
Subject: Re: GSOC 2017 Idea Using Python within Octave
Date: Sun, 12 Mar 2017 18:32:42 +0530

On Sun, Mar 12, 2017 at 2:29 PM, KOUSTAV DAS <address@hidden> wrote:
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. 

Hi, the idea is NOT to make python and octave code work together in some environment. It is to allow octave users to call python code from octave code. As octave is already widely used, people who need to call some python should be facilitated instead of making up a completely new architecture... Symbolic package is a prime candidate for using pytave for calling python from within octave. We would definitely not shift to a new architecture specially since symbolic is an octave package.
 

Please drop in some suggestions.  


If you still want to go on with your idea, you will have to search for a mentor who is interested in your idea...
Or clone pytave repo, try to use it in octave and see its current functionality then come up with something to improve pytave.


Regards,
Abhinav
 



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]