Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » upp GTK compatibility for Ubuntu broken?
upp GTK compatibility for Ubuntu broken? [message #34121] Fri, 21 October 2011 08:30 Go to next message
kohait00 is currently offline  kohait00
Messages: 939
Registered: July 2009
Location: Germany
Experienced Contributor
I congratulate you for this initiative.

I vote for:

1.- theide: Windows 64-bit debugging support. Remark: I think the debugger still contains some minor bugs;

2.- theide look&feel improvements (docking, new icons...);

3.- configurable menu bar: a gre
Re: upp GTK compatibility for Ubuntu broken? [message #34123 is a reply to message #34121] Fri, 21 October 2011 09:36 Go to previous messageGo to next message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

at improvement, certainly;

4.- Multi threading for Painter: would it be possible to implement something similar fot GLCltr?.

Best wishes.

Thanks,

remark: somehow, my last post didn't work, that's why is empty.

Javier
Thinking about TCC and runtime compilation frameworks (also web templates) I have got an idea how represent the code structure in the tree of virtual objects (basically, via function pointers).

I have put together a litte experimental snippet:

#include <Core/Core.h>

using namespace Upp;

struct Oper {
	virtual double Execute() = 0;
	virtual ~Oper() {}
};

struct BinOper : Oper {
	One<Oper> a;
	One<Oper> b;
};

struct Add : BinOper {
	virtual double Execute() { return a->Execute() + b->Execute(); }
};

struct Sub : BinOper {
	virtual double Execute() { return a->Execute() - b->Execute(); }
};

struct Mul : BinOper {
	virtual double Execute() { return a->Execute() * b->Execute(); }
};

struct Div : BinOper {

		
		
		
Re: upp GTK compatibility for Ubuntu broken? [message #34124 is a reply to message #34123] Fri, 21 October 2011 10:01 Go to previous messageGo to next message
kohait00 is currently offline  kohait00
Messages: 939
Registered: July 2009
Location: Germany
Experienced Contributor
} }; struct Var : Oper { double *var; virtual double Execute() { return *var; } }; struct Compiler { VectorMap<String, double *> var; One<Oper

[Updated on: Fri, 21 October 2011 10:01]

Report message to a moderator

Re: upp GTK compatibility for Ubuntu broken? [message #34125 is a reply to message #34124] Fri, 21 October 2011 10:39 Go to previous message
mdelfede is currently offline  mdelfede
Messages: 1307
Registered: September 2007
Ultimate Contributor
> Term(CParser& p); One<Oper> Exp(CParser& p); One<Oper> Factor(CParser& p); }; One<Oper> Compiler::Term(CParser& p) { One<Oper> result; if(p.IsId()) { double *v = var.Get(p.ReadId(), NULL); if(!v) p.ThrowError("unknown variable"); result.Create<Var>().var = v
Previous Topic: RM: "Patch ready"
Next Topic: Little experiment compiling to function pointer calls...
Goto Forum:
  


Current Time: Fri Mar 29 14:53:48 CET 2024

Total time taken to generate the page: 0.01525 seconds