Code Monkey home page Code Monkey logo

mql4compiler's Introduction

mql4compiler's People

Contributors

ilanfrumer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

mql4compiler's Issues

Update compiler

para poder actualizar el compilador con la ultima versión conocida del metaeditor.exe, y que funcione la compilación, solo hay que modificar la linea 81 de mql4_compiler.py
" command = [METALANG_PATH,' /log:log.log /compile:./',self.filename] "
con esto se compila y genera el log en el mismo directorio donde esta el archivo mql4
espero les sea útil

Metalang.exe not found

I get error in console:

mql4compiler-master/metalang.exe
Mqlcompiler | error: metalang.exe not found

But metalang.exe is in mql4compiler-master folder.

(Sublime Text build 3059, Mac OSX version 10.9.4)

compiler doesn't recognize any of the basic preprocessor definitions

Hello. Good work.
I'm having a problem with this compiler.
I'm getting error msgs for the first directives in source code:
line 8:1 | 'version' - unknown property
line 9:1 | 'strict' - unknown property
line 9:1 | 'strict' - defined value expected

as in:

property version "1.00"

property strict

....

Do I have a misconfiguration, what can I do to enable correct compiling?
Thanks

Message panel does not refresh if already open

If the message panel is already open (giving you the results) when you do a new compile, the new message for the new compile does not show.

MetaQuotes Language 4 compiler build 509 (24 Jun 2013)

Convert to ST3/Python3

Have you considered porting this script to Python 3? I would love to be able to use it in ST3.

Without being a Python programmer, I was able to convert it to Python 3 (by using the 2to3 tool and following the errors). That part was simple enough, mainly changing print "" to print(). Then I kept getting TypeError: can't use a string pattern on a bytes-like object. This was fixed by strict casting a few of the strings to be bytes.

I hit my Python knowledge wall at the point where Sublime changed some of their APIs, specifically, begin_edit() and end_edit().

I do not have a strong enough Python background to make me feel comfortable actually submitting a pull request so hopefully this text will assist you in porting the complier, if you choose to do so.

And maybe this will help too, Sublime Text Porting Guide

What version of Python is needed?

It seems I have Python 2.6 on my Mac box and I'm getting the following error in the console view after compiling:

Traceback (most recent call last):
  File "./sublime_plugin.py", line 362, in run_
  File "./mql4_compiler.py", line 20, in run
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/posixpath.py", line 119, in dirname
    i = p.rfind('/') + 1
AttributeError: 'NoneType' object has no attribute 'rfind'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.