![]() |
#16 | |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 475
Karma: 796
Join Date: Sep 2008
Location: Honolulu
Device: Nokia 770 (fbreader)
|
Quote:
![]() 1) "Easy macro languages are hardest to learn..." Read that a few times. It still makes no sense. It's up-is-downism, that pseudo-rationalizes some other point. 2) "...they are usually proprietary to one piece of software and there fore hard rationalize investing too much time into." This is your real point. And it supports exactly the point I was making in my argument. You are a programmer already, as is Valloric. You think like programmers, and want to leverage your knowledge. (I am not belittling the time and effort it took you to learn your skills. I think programmers are awesome.) My point is that while it might be nice for everyone to learn Python in order to successfully (or adequately) program macros for the editor, it won't happen. Programmers will do it. A few hardy souls will do it. And most people won't. The first step has to be easier than that, thus making (or leaving) people dependent. ("Would somebody please write a macro that...?") 3) I wasn't suggesting recreating or cloning the NoteTab Clip language. I think that the method of creating and accessing the macros is great -- and the language is easy to learn. Factors that I hope can be extracted from observing it. Okay, I'm done. I see your point, understand your motivations, acknowledge the value of efficiency (and not wanting to recreate the wheel.) It's all good. I may even learn Python, if I'm feeling hardy and I have time. ![]() m a r |
|
![]() |
![]() |
![]() |
#17 | ||
Created Sigil, FlightCrew
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
Quote:
It really, really is very easy to learn. I'd dare say it's even intuitive. Quote:
Oh please don't see this as any king of argument. I'm sure everyone sees it as a polite discussion, which it is. I'm certainly always willing to be convinced by sound arguments. |
||
![]() |
![]() |
Advert | |
|
![]() |
#18 |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 475
Karma: 796
Join Date: Sep 2008
Location: Honolulu
Device: Nokia 770 (fbreader)
|
|
![]() |
![]() |
![]() |
#19 | |
The Grand Mouse 高貴的老鼠
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 73,955
Karma: 315160596
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
|
I've just started to work with python more seriously. I must admit that I like it more and more.
Version 3 looks good - moving strings to be unicode without any of the mucking about with u prefixes. Breaks a lot of 2.x stuff though... Quote:
|
|
![]() |
![]() |
![]() |
#20 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 334
Karma: 1234
Join Date: Jul 2009
Location: Hindelbank, Switzerland
Device: P990i, PRS 505
|
Lua
Quote:
Mind you Lua has been designed for embedding into applications and is embedded not only in Games. Have a look there homepage. Last edited by krischik; 09-25-2009 at 04:22 AM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#21 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 334
Karma: 1234
Join Date: Jul 2009
Location: Hindelbank, Switzerland
Device: P990i, PRS 505
|
'[' is a abbreviation for 'test' - you find the documentation with 'info test' or 'man test'. Once I found that out I have stopped using '[' and use 'test' instead.
So instead of: Code:
if [ -e /Some/File ] ; then Code:
if test -e /Some/File; then |
![]() |
![]() |
![]() |
#22 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,549
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
|
![]() |
![]() |
![]() |
#23 | |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 475
Karma: 796
Join Date: Sep 2008
Location: Honolulu
Device: Nokia 770 (fbreader)
|
Quote:
You perfectly encapsulate my point -- without knowing it means 'test' you can't find out that it means 'test'. Lots of programmers seem to think that if you type only one character ([) instead of four characters (test) it's better. They can't help themselves. Yet they won't use Forth. Go figure. ![]() m a r |
|
![]() |
![]() |
![]() |
#24 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 334
Karma: 1234
Join Date: Jul 2009
Location: Hindelbank, Switzerland
Device: P990i, PRS 505
|
|
![]() |
![]() |
![]() |
#25 |
Lector minore
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 660
Karma: 1738720
Join Date: Jan 2008
Device: Aura One, Paperwhite Signature
|
I vote for lua.
Much smaller runtime than Python to embed but has everything you need for a scripting language. Not that difficult a language to learn; about comparable to Python. Very easy to embed. |
![]() |
![]() |
![]() |
#26 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 334
Karma: 1234
Join Date: Jul 2009
Location: Hindelbank, Switzerland
Device: P990i, PRS 505
|
![]() |
![]() |
![]() |
![]() |
#27 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,258
Karma: 3439432
Join Date: Feb 2008
Device: Amazon Kindle Paperwhite (300ppi), Samsung Galaxy Book 12
|
I'd vote for Lua as well. It's intended for embedding and is being used in other text-oriented projects.
William |
![]() |
![]() |
![]() |
#28 |
Created Sigil, FlightCrew
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
A poll would IMO be meaningless. I'm not going to make a decision based on a number, but on sound arguments presented in a discussion. Anyone wanting to present their idea of what scripting language should be embedded needs to be able and willing to convince me and others why should that language be chosen over the rest. Not just click a button.
|
![]() |
![]() |
![]() |
#29 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 574
Karma: 138556
Join Date: May 2006
Device: PRS505
|
|
![]() |
![]() |
![]() |
#30 | |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,549
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
But I've never seen/used Lua. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Scripting with epub-meta | averyml | Calibre | 20 | 11-17-2016 10:13 AM |
Entourage Edge and the Android Scripting Environment | paulckennedy | enTourage eDGe | 9 | 07-12-2011 12:32 PM |
iLiad Lua: scripting for Iliad | hansel | iRex Developer's Corner | 3 | 12-14-2008 06:51 PM |
Simple browser scripting for content? | mphuie | Workshop | 2 | 01-29-2008 08:38 PM |
Any NetNewsWire Scripting Pros out there? | adinb | Sony Reader | 0 | 02-25-2007 01:44 AM |