Skip to content
EvilBeaver edited this page May 22, 2014 · 25 revisions

Welcome

Ýòîò ïðîåêò ÿâëÿåòñÿ ïîïûòêîé àëüòåðíàòèâíîé ðåàëèçàöèè âèðòóàëüíîé ìàøèíû, èñïîëíÿþùåé ñêðèïòû íà ÿçûêå 1Ñ:Ïðåäïðèÿòèå. Çàäà÷à ìèíèìóì - âûïîëíåíèå òèïè÷íûõ àäìèíèñòðàòèâíûõ ñöåíàðèåâ ñ èñïîëüçîâàíèåì èíôðàñòðóêòóðû WSH. Çàäà÷à ìàêñèìóì - ïîìîùü ñîîáùåñòâó ðàçðàáîò÷èêîâ 1Ñ â íàïèñàíèè ïðèëîæåíèé íà çíàêîìîì ÿçûêå. Ïðåäïîëàãàåìûé ðåçóëüòàò - åùå îäèí íèêîìó íå íóæíûé ñêðèïòîâûé ÿçûê, êîèõ óæå ïðóä-ïðóäè.

Ñîñòàâ ðåïîçèòîðèÿ

Ðåïîçèòîðèé âêëþ÷àåò â ñåáÿ íåñêîëüêî ïðèëîæåíèé

  1. oscript - îñíîâíîé êîìïîíåíò âûïîëíåíèÿ ñêðèïòîâ â êîìàíäíîé ñòðîêå
  2. TestApp - ïåñî÷íèöà äëÿ ïðîá è îøèáîê â íàïèñàíèè ñêðèïòîâ
  3. Ïîêà â ðàçðàáîòêå

Îñîáåííîñòè ñêðèïòîâ

Êàæäûé ñêðèïò ïðåäñòàâëÿåò ñîáîé òåêñòîâûé äîêóìåíò â êîäèðîâêå UTF-8 with BOM èëè windows-1251.

Ñèíòàêñèñ ñêðèïòà ïðåäñòàâëÿåò ñîáîé ñòàíäàðòíûé ÿçûê ñèñòåìû 1Ñ:Ïðåäïðèÿòèå.

This wiki uses the Markdown syntax.

The wiki itself is actually a git repository, which means you can clone it, edit it locally/offline, add images or any other file type, and push it back to us. It will be live immediately.

Go ahead and try: Test link Click me

$ git clone https://[email protected]/EvilBeaver/1script.git/wiki

Wiki pages are normal files, with the .md extension. You can edit them locally, as well as creating new ones.

Syntax highlighting

You can also highlight snippets of text (we use the excellent Pygments library).

Here's an example of some Python code:

#!python

def wiki_rocks(text):
    formatter = lambda t: "funky"+t
    return formatter(text)

You can check out the source of this page to see how that's done, and make sure to bookmark [the vast library of Pygment lexers][lexers], we accept the 'short name' or the 'mimetype' of anything in there. [lexers]: http://pygments.org/docs/lexers/

Have fun!

Clone this wiki locally