Mailinglist Archive: yast-devel (66 mails)

< Previous Next >
Re: [yast-devel] What about comments for YCP to Ruby conversion?
  • From: Ladislav Slezak <lslezak@xxxxxxx>
  • Date: Thu, 06 Jun 2013 11:16:07 +0200
  • Message-id: <>
Dne 6.6.2013 10:19, Jiri Srain napsal(a):
Hello Johannes,

the comments are one of the tasks, which is currently being worked on. So you
right, we intend to translate the comments as well.

Yes, Josef is working on it, the problem is that the YCP parser does not
care about comments and throws them away. The major problem is how to bind the
comments properly with the code, you need to know the context around the comment
to decide correctly and that's a problem during parsing (you do not know what
will be the next node until it's actually parsed...)

Of course, comments are essential part of the code so we switch to ruby only
this is solved. This is a blocker for us.


Ladislav Slez√°k
Appliance department / YaST Developer
Lihovarsk√° 1060/12
190 00 Prague 9 / Czech Republic
tel: +420 284 028 960
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: yast-devel+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups