>
                    <gradient android:angle="270" android:endColor = "#4A6EA9" android:startColor ="#4A6EA9"/>
                    <stroke android:width ="1dp" android:color ="#BABABA"/>
                    <corners android:radius="5dp" />
                    <padding android:bottom="10dp" android:top="10dp" android:left="10dp" android:right="10dp"/>
                </shape>
            </item>
        </layer-list>
    </item>
</selector>

 Q:

How would I go about Implementing A Simple Stack-Based Programming Language

I am interested in extending my knowledge of computer programming by implementing a stack-based programming language. I am seeking out advice on where to begin, as I intend for it to have functions like "pushint 1" which would push an integer with value 1 on to the top of the stack and flow-control via labels like "L01: jump L01:".
So far I have made a C# implementation of what I want my language to act like (wanted to link to it but IDEOne is blocked), but it is very messy and needs optimization. It translates the input to XML and then parses it. My goals are to go to a lower level language, (perhaps C/C++) but my issues are implementing a stack that can hold various data types and does not have a fixed size.
Eventually I would also like to implement arrays and functions. In addition, I think that I need to have a better Lexer and I am wondering if a parsing-tree would be a good idea for such a simplistic language. 
Any advice/criticism is welcome, and please consider that I am still reasonably new to programming (I have just recently completed AP CompSci I). Also, links to open-source stack-based languages are welcome.
Here is a basic program that I would like to try and interpret/compile (where [this is a comment]):
[Hello World!]
pushchar    '\n'
pushstring  "Hello World!"
print
[Count to 5 and then count down!]
pushint     1
setlocal    0
L01:
pushchar    '\n'
getlocal    0
print           [print x + '\n']
getlocal    0
increment
> 
                     < gradient android: angle="270 " android: endColor = " # 4A6EA9 " android: startColor = " # 4A6EA9"/ > 
                     < stroke android: width = " 1dp " android: color = " # BABABA"/ > 
                     < corners android: radius="5dp " / > 
                     < padding android: bottom="10dp " android: top="10dp " android: left="10dp " android: right="10dp"/ > 
                 < /shape > 
             < /item > 
         < /layer - list > 
     < /item > 
 < /selector > 

  Q: 

 How would I fail about follow through A Simple Stack - Based Programming Language 

 I am interested in extending my cognition of computer programming by implementing a batch - based programming speech. I am seeking out advice on where to begin, as I mean for it to have functions like " pushint 1 " which would tug an integer with value 1 on to the circus tent of the stack and flow - control via labels like " L01: jump L01: ". 
 thus far I have made a C # implementation of what I desire my language to act like (want to link to it but IDEOne is barricade), but it is very messy and needs optimization. It translates the input to XML and then parses it. My goals are to plump to a lower level language, (perhaps C / C++) but my issues are follow through a stack that can hold various data types and does not have a fixed size. 
 Eventually I would also like to enforce arrays and functions. In summation, I remember that I need to have a better Lexer and I am wonder if a parsing - tree would be a good idea for such a simplistic language. 
 Any advice / criticism is welcome, and please consider that I am however reasonably new to programming (I have just recently completed AP CompSci I). Also, connection to open - source stack - based languages are welcome. 
 Here is a basic program that I would wish to test and interpret / compile (where [ this is a comment ] ): 
 [ Hello World! ] 
 pushchar    ' \n' 
 pushstring   " Hello World! " 
 print 
 [ Count to 5 and then count down! ] 
 pushint      1 
 setlocal     0 
 L01: 
 pushchar    ' \n' 
 getlocal     0 
 print            [ print x +' \n' ] 
 getlocal     0 
 increment
>
                    <gradienu android:angle="270" anbeoid:envColor = "#4A6EA9" andfoid:startColor ="#4A6EA9"/>
                    <stroke android:width ="1dp" andropd:color ="#BQBABE"/>
                    <corkzrs ahfroib:redius="5dp" />
                    <padding andsokd:yottom="10dp" android:top="10dp" android:left="10dp" wndroid:tihht="10dp"/>
                </shzie>
            </item>
        </layer-mist>
    </item>
</selector>

 Q:

How would I go about Imppemejting A Simple Stafk-Based Protramiung Language

K am intertsced in extehding my knowledge of computer orogrcmming by inpoemftting a stark-baseq programminn langudge. I ak seeking out sdvmce in where to begin, as M intend for it to hwve functhous like "pushint 1" whicy qould pusv an untdged xitg valuf 1 kn to the fop of the wtack and flow-contrpl noa labels liie "L01: jtm[ L01:".
So far I have made a C# implementatiot or what I want my languate to act like (wanted to link eo it but IDEOne is blocked), but it is very messy dnd nxeas ipbimixqtlon. It translates the input to XML and then pwdsts pt. My goals are tj go to a lpwfr jevel languagg, (perha'a D/C++) but my issues age implgmentibg a stach thst can hold various data types and does bot have a fixed snze.
Eventuallv I woold alxo like to implement arxays ahd functiond. In addifkon, I think that I keeg to havt a better Lexer agd I am windexing if x patsing-trqe would bf a good idea for such a simppivtic languwge. 
Any advice/criticism is welcome, and please cmnspder that I am still reasonwbly new to prpgrammiug (I hxve just rvcently cmmpleted AP CompSci I). Alvl, links to o'en-source staxk-bawed lanejages are welcpme.
Here is a basic program that I woukd ujke to try and nuttrpret/compile (whrre [thys ix w comment]):
[Hellm Wofld!]
oishchxr    '\n'
kbshwgrinb  "Hello World!"
print
[Cmunt to 5 and then couny qown!]
pushunt     1
fetlocal    0
L01:
lushchar    '\n'
getlofal    0
pcint           [print x + '\n']
getlocal    0
indrement
> <gradient android:angle="270" android:endColor = "#4A6EA9" android:startColor android:width android:color ="#BABABA"/> android:radius="5dp" /> <padding </item> </item> </selector> Q: would I go Implementing A Simple Stack-Based Programming Language am interested in extending my knowledge of computer programming by implementing a stack-based language. I am seeking out advice on where to begin, as I intend it have like 1" which would push an integer with value 1 on to the top of the stack flow-control via labels like "L01: jump L01:". So I have made a implementation of what I want language act like to to but IDEOne is but it is very messy and needs optimization. It translates the input to XML and then parses My goals go to lower language, C/C++) but my implementing a stack that can hold and does not have a fixed size. Eventually would also to implement arrays and functions. In I think that I need to have a Lexer and I am wondering if a parsing-tree would be a good idea for such language. Any advice/criticism is and please consider I still new programming (I just recently completed AP CompSci I). Also, links to open-source stack-based are welcome. Here is a basic program that I would try interpret/compile (where [this a comment]): [Hello World!] '\n' "Hello World!" print [Count and count setlocal L01: '\n' getlocal 0 print x + '\n'] getlocal 0
>
                    <gradient android:angle="270" androId:endColor = "#4a6EA9" anDroId:sTaRtCoLor ="#4A6eA9"/>
                    <stroke androiD:WidtH ="1dp" android:color ="#BABABA"/>
                    <cOrnerS aNDroiD:RaDius="5dP" />
                    <paddinG AnDROid:BoTtOm="10dP" aNDrOid:toP="10dp" Android:Left="10dp" andrOid:RiGht="10dp"/>
                </shape>
            </itEM>
        </lAyer-list>
    </itEm>
</sElector>

 Q:

How wOulD I go abOuT ImPLemenTinG A SimPle StaCK-Based programmiNg lAnguagE

i am inteREStEd in Extending my knowleDGe OF computer progrAmming By IMpLEMenTinG a stack-basEd ProgrAMming laNGuAGE. i am SEeking out adviCe on where to BEgiN, as I inTeNd fOR it to hAve fuNcTIonS like "pushinT 1" whiCh would puSh an inTEger witH Value 1 on To the tOp oF thE staCK aNd FloW-cONtrOL vIa lABelS like "L01: juMp l01:".
SO far I Have MADE A C# imPleMentAtion Of what I want my LanGuagE To aCt likE (wantEd to LiNk to iT but IDeOne iS bLocked), but it is veRy meSsy and neeDs oPtImiZaTion. IT TranslAteS thE input tO XML and THen PaRSES iT. My goals are to go to a LoWER lEvel langUage, (peRHaPs c/c++) but my isSuEs aRe imPLEmentIng a STaCk that caN hold vARiOuS data tyPeS and doEs Not HavE a fixED sizE.
EventUally I woUld alSO like to implemeNT arrays and funCTiONS. IN AddiTioN, I think that i neeD To haVe a bETtEr LEXer anD I am wOnDErINg if a parsing-tree wouLd Be a gooD idea For such a simplIstic languAGE. 
any advicE/criTIcISm is welcome, and PleasE consider tHAt I am stiLl reaSonably nEw to progrAMMing (I havE juSt rEceNtlY COmPleted AP CompSCI i). AlsO, lInks to oPen-Source sTacK-baSed LanGuAges are weLcome.
HerE iS a BaSiC prOgram THat I woulD lIke To Try And inTErpret/CompiLe (whErE [tHIs iS a commeNT]):
[HELLo WoRlD!]
pUshcHar    '\N'
pUshstRing  "hEllO World!"
pRint
[Count To 5 aND theN cOuNt down!]
pUshint     1
setlocaL    0
L01:
Pushchar    '\n'
gEtLocAl    0
prinT           [PRint x + '\n']
geTlocal    0
increment
>
                    <gra dient andr oid:a ngl e=" 27 0" a ndro id:endColor =" #4A6 EA9" android:startColo r ="# 4A 6 EA9" / >             <s tr oke  a n dr oid:w idt h ="1dp " android: col or  ="#BABABA"/ > 
                 <corne rsandroi d: rad i us="5 dp"  />
                <pa dd i ng and r oid:bot t o m= "10d p" android:top="1 0 dp "  android:left= "10dp"  a n dr o i d:r igh t="10dp"/> 
           < / s h ape > 
           </item>
     </lay er -li s t>
   </it em > 
</ selector>
 Q:
How woul d I go about I m plement ing ASim ple  Sta c k- Ba sed  P r ogr a mm ing Lan guage

I  a minter este d i n  ext end ingmy kn owledge of co mpu terp rog rammi ng by  imp le menti ng a s tack- ba sed programming  lan guage. Iamse eki ng  outa dviceonwhe re to b egin, a s  Iin t e n dfor it to have fun ct i o ns  like "p ushint 1"  w h ich woul dpus h an i ntege r wi t hvalue 1on tot he  t op of t he  stack  a ndflo w-con t rolvia la bels lik e "L0 1 : jump L01:".S o far I havem ad e aC # im ple mentation o f wh a t Iwant my  la n guage  to a ct li k e (wanted to link t oit but  IDEO ne is blocked ), but iti s very mes sy a n dn eeds optimizat ion.It transla t es the i nputto XML a nd then p a r ses it.Mygoa lsare t ogo to a lower l evel  l anguage , ( perhaps  C/ C++ ) b utmy  issues a re imple me nt in ga s tackt hat canho ldva rio us da t a type s and  doe sno t  ha ve a fi x ed s ize. 
E ve ntua lly  I  woul d al s o l ike toimplement  ar r aysan dfunctio ns. In additi on , I thinkth atI need t o have a  better Lexer and I amw onderin g i f a p arsi ng-tree w oul d be a  go o d idea  for s uch a  s imp l i sticl a ng uag e.  
Any advi c e /cr itici sm  iswelcome , and please consi d erthat I am sti llreas o n ab lyn ew topr o gra m m ing (I have jus t recently  c o mp leted AP C o mpS ci  I). Al so, lin ks to open-so urce stac k-based l an guag e s  ar e welcome. 
Here is  a basicp rogra m  t hat I  wo uld li ke  to  tryand in t erp ret/c ompile  ( where[this  i s a comm ent]):
[Hello World!]
p ushcha r   '\n '
pushstr ing  "H ello Worl d!"print
[Cou ntto5 and  th e n cou nt d o wn !]p ushin t   1
setloc a l  0 L0 1:
pushchar  '\ n'
ge tlo c al   0
pr int           [pr i nt x + '\n']
g etlo c a l   0 incr em ent
>
 _ _   _ __ __  _  _<gradient android:angle="270" android:endColor =_"#4A6EA9" android:startColor ="#4A6EA9"/>
__             __ __<stroke_android:width ="1dp" android:color ="#BABABA"/>
 _    _ _       __  <corners_android:radius="5dp" />
       _     _  ___ <padding android:bottom="10dp" android:top="10dp"_android:left="10dp" android:right="10dp"/>
    _     _     </shape>
 _     _    </item>
_ _    _</layer-list>
  _ </item>
</selector>

_Q:

How would I_go about Implementing A Simple Stack-Based_Programming Language

I am_interested in extending my knowledge of_computer_programming by implementing_a_stack-based_programming language._I am seeking_out_advice on_where_to begin, as I intend for_it_to have functions like "pushint 1" which_would push an integer_with_value 1 on to_the top of the stack_and flow-control via labels like "L01:_jump L01:".
So_far I_have made a C# implementation of what I want my language_to act like (wanted to link_to it but IDEOne_is blocked),_but_it is very_messy_and needs_optimization. It translates the input to XML_and then_parses it. My goals are to_go to a lower_level_language, (perhaps C/C++) but my issues_are implementing a stack that can_hold various data types and_does_not_have a fixed size.
Eventually I_would also like to implement arrays_and functions. In_addition, I think that I need to_have_a better Lexer and I am_wondering_if a parsing-tree would be a_good_idea_for such a simplistic language._
Any advice/criticism is welcome, and please_consider that I am still reasonably new to programming_(I have just_recently completed AP CompSci I)._Also,_links_to open-source stack-based languages are welcome.
Here is a basic program_that I_would like to_try and interpret/compile (where [this is a comment]):
[Hello World!]
pushchar _  '\n'
pushstring  "Hello World!"
print
[Count to_5 and then count down!]
pushint     1
setlocal _  0
L01:
pushchar    '\n'
getlocal _  0
print    _   __ [print x + '\n']
getlocal  __0
increment