Excerpts from Dmitry Ivanov's message of Tue Nov 19 06:38:24 +0100 2013: > Also, regarding modularization: I see in git history that there was an > attempt to extract GUIs into separate packages. Does anyone remember why > that didn't work out?
Ideally we'd replace C. :) C++ is considered "to complicated" by many experts. See gtk/gnome and Vim community. Thus ideally we'd write a meta compiler preprocesser which would allow us to define "data Map" like things (with polymorphism), then write code which translates such map to any target language, then allow to actually use it in any target languge: == setup.my-new-lang # now instantiate a map like thing from our generic description: # ocaml/urweb like module instantiation: Map = Mapbuild("for-c","use-malloc/free/reference-counting or boehmgc depending on project") in the JS case Map would simpy be a hash {} like object because JS already implemnts it. == end setup.my-lang == sample file any.c int k = 7 int v = 20; /* start my preprocessor */ includes setup.my-new-lang var map = Map.new map.add(k,v) ... /* end my preprocessor */ == end any.c Something like vala, but more like Haskell/disciple which at least provides Ruby like error handling/blocks, nice short iterators and such. File.open("foo.txt")do |f| do something // if this block is left f is closed *always* end But I guess such preprocessor language does not exist and nobody has started work on such !? :-) I think this is very much off-topic. Does this make sense at all? Does anybody of you know any such attempt ? I mean C++ started as preprocessor, too. Marc Weber -- -- Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel --- You received this message because you are subscribed to the Google Groups "yi.devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to yi-devel+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.