Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ruby ÒªÈçºÎ寫bnf

ÎÒÊÇÓÃnetbeans È¥寫bnf

a program will ONLY accept strings based on the following grammar:

            <compute> --> <value> = <expression>

            <value> --> X | Y | Z

            <expression> --> <value> + <expression>

                                                | <value> - <expression>

                                                | <value>

ÎÒÓÃÒÑ經ÓÃtreetop È¥寫rules


ÎÒ現ÔÚ×öµ½output and input




ÎÒ現ÔÚÒªÖªµÀÔõ麼check letter
ÏñÊÇËûÈç¹ûÊÇС寫µÄ話¾ÍÊÇ Lexical Error: Unrecognized character ¡®z¡¯
Èç¹ûÊÀx y z ÒÔÍâµÄ話 ¾ÍÊÇSyntax Error: Operation ¡®a b¡¯ is invalid


還ÓÐÔõ麼show bnf ÔÚÄã°´enter時  Ëû會°ÑËùÓеÄshow ³ö來

ÏòÊÇ X=X+Y-Z

<compute> --> <value> = <expression>
             


Ïà¹ØÎÊ´ð£º

£¨¼±£©ruby µ÷ÓÃvcдµÄ¿âÎļþÎÊÌâ

ÎÒ×Ô¼ºÐ´ÁËÒ»¸ö¿âÎļþ£¬¿âÎļþÄÚ²¿Ã»ÎÊÌâ¡£ÎÒÏÖÔÚÏëÓà ruby£¨rpgÀµ÷ÓÃÕâ¸ö¿â£¬ÏÖÔÚÎÊÌâ³öÀ´ÁË£¬±¨´í£¬ËµµÄÊÇGetProcAddress : nSrv or nSrvA  ºÃÏñÊDz»ÄÜÕÒµ½Õâ¸öº¯Êý°É£¬ nSrv ÊÇÎÒ¿âÎļþÀïµÄÒ»¸öº¯ÊýµÄÃû× ......

Ë­ÖªµÀºÃÓõÄRuby IDE£¿

Ë­ÖªµÀºÃÓõÄRuby IDE£¿


·¹ý°ï¶¥

°ï¶¥

cheng_erÄãÕâ¸öÍ·Ïñ±ÈÎҵĻ¹»Æ°¡.

ÓÑÇéUp£¡~

´¿¶¥

ÒýÓÃ
cheng_erÄãÕâ¸öÍ·Ïñ±ÈÎҵĻ¹»Æ°¡.


ÕâÄêÍ·,Ææ¹ÖµÄÊÂÇéÔõôÕâô¶àÄØÎÒ¾Í˵
......

Ruby on Rails£¨¼±£¡£¡£¡£¡£¡£¡ÔÚÏߵȣ©

HTML code:

<%= link_to_if_authorized l(:field_search_title), {:controller => 'books', :action => 'search', :project_id => @project, :title => @title} %>
<%= text_field_tag 't ......

ruby²Ù×÷Îļþ

require 'app/configuration'
module RubyAMF
  module Configuration
    #set the service path used in all requests
    # RubyAMF::App::RequestStore.service_p ......

[¹ØÓÚJavaºÍRuby]ÇóÇ°±²Ö¸µ¼ - Java / Web ¿ª·¢

ÎÒÏÖÔÚ²»µÃ²»ÃæÁÙÒ»¸öÑ¡Ôñ£º A£¬Ìø²Û¼ÌÐø×öJ2EE. B,תÐÍ×örailsµÄ¿ª·¢
ÔÚй«Ë¾¹¤×÷ÒѾ­°ëÄ꣬Õâ±ßµÄ·ÕΧ±È½ÏÇáËÉÓä¿ì£¬µ«ÊÇÎÒ¸ºÔðµÄÒ»¸öJavaÏîÄ¿ÒѾ­ÉÏÏߣ¬°´ÕÕpmµÄÒªÇó£¬ÈÃÎÒתÐÍ×örails¿ª·¢¡£¾ÍÎÒѧϰrailsµÄ¹ý³ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ