AKB Forums

Go Back   AKB Forums > Technical sections > Languages, Compilers and Interpreters
Home Register Blogs FAQ Members List Calendar Downloads Arcade Mark Forums Read

Languages, Compilers and Interpreters C,C++,C#,.NET,Java,PHP,Perl,SQL and more

Troubles when posting message? Click here! :: Проблемы с отправлением сообщения? Нажмите сюда!

Reply
 
LinkBack Thread Tools Display Modes
Old Feb 6, 2008, 09:21   #1
Say no to alco like Gates
 
Hrach_Techie's Avatar
 
Join Date: Aug 2004
Location: Apparently the anti-alcoholism campaign hasn't worked very well for Gates after the last Zaher party ...
Posts: 16,347
Rep Power: 7
Reputation: 363
Thumbs up Декларативное программирование на Java

Декларативное программирование ассоциируется обычно с такими языками, как Prolog, Haskell, Refal. В этом посте я расскажу о том, как можно декларативно программировать на Java. В качестве примера декларативного программирования часто приводя Parser Combinators из Haskell (Почитать можно тут), разбирающих вход при помощи рекурсивного спуска с возвратом, но ничто не мешает нам реализовать их на Java. Начнем с лексического анализа. Поскольку мы собираемся писать достаточно общий набор комбинаторов, определим базовый класс для лексических анализаторов:

смореть статью полностью тут
__________________
Мадмазель, Медам, Месье! "Глория" меняет курс и направляется в Кейптаун! Кому это не нравится будет расстрелян на месте. (с)

http://texneg.livejournal.com
Hrach_Techie is offline   Reply With Quote Quote selected
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 07:30.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
This board was founded on September 29, 2001
Powered by Viper Internet

Affordable Web Hosting | ParevNet

Buy text link