Mapytex/mapytex/calculus/core/operator.py

23 lines
430 B
Python

#! /usr/bin/env python
# -*- coding: utf-8 -*-
# vim:fenc=utf-8
#
# Copyright © 2017 lafrite <lafrite@Poivre>
#
# Distributed under terms of the MIT license.
OPERATORS = {
"+": {"priority":0},
"-": {"priority":1},
"*": {"priority":2},
"/": {"priority":3},
"^": {"priority":4},
}
# -----------------------------
# Reglages pour 'vim'
# vim:set autoindent expandtab tabstop=4 shiftwidth=4:
# cursor: 16 del